Skip to content

Commit ac44b72

Browse files
committed
Merge #50: Enable clippy on CI
28708bc Enable clippy on CI (Tobin C. Harding) Pull request description: Add a clippy configuration file configuring the MSRV. Add a github actions job to run clippy on CI. ACKs for top commit: apoelstra: ACK 28708bc Tree-SHA512: b0b76cb48d464a301b7454d6a0ddb346a0e8e62e9bc5d49c5a9fb18bf693b113da35e67448da1d0d61cae7aa7a9ce31f9c9e1c9e22fe11fdf3c0136fb22e150d
2 parents f304bcb + 28708bc commit ac44b72

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,19 @@ jobs:
8888
override: true
8989
- name: Create Doc
9090
run: cargo doc
91+
92+
Clippy:
93+
name: Clippy
94+
runs-on: ubuntu-latest
95+
steps:
96+
- uses: actions/checkout@v2
97+
- uses: actions-rs/toolchain@v1
98+
with:
99+
profile: minimal
100+
toolchain: stable
101+
override: true
102+
- run: rustup component add clippy
103+
- uses: actions-rs/cargo@v1
104+
with:
105+
command: clippy
106+
args: --all-targets -- -D warnings

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
msrv = "1.41.1"

0 commit comments

Comments
 (0)