Skip to content

Commit f3a4db4

Browse files
authored
ci: Added cargo-deny, enabled pedantic clippy, upgraded dependencies (#18)
Also: - Require nightly only for "build" subcommand, instead of for all subcommands
1 parent 123ffeb commit f3a4db4

File tree

13 files changed

+280
-252
lines changed

13 files changed

+280
-252
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'main'
7+
- "main"
88

99
env:
1010
RUSTFLAGS: -D warnings
@@ -44,14 +44,14 @@ jobs:
4444
run: cargo check --all-targets --all-features
4545
- name: "`cargo test`"
4646
run: cargo test --no-fail-fast --verbose --locked
47-
clippy:
48-
name: Clippy
47+
analyze:
4948
runs-on: ubuntu-latest
5049
steps:
5150
- name: Checkout
5251
uses: actions/checkout@v4
5352
- name: rust-toolchain
5453
uses: dtolnay/rust-toolchain@stable
54+
- name: "`cargo deny`"
55+
uses: EmbarkStudios/cargo-deny-action@v1
5556
- name: "`cargo clippy`"
5657
run: cargo clippy --all-targets --all-features
57-

0 commit comments

Comments
 (0)