Skip to content

Commit

Permalink
ci: Added cargo-deny, enabled pedantic clippy, upgraded dependencies (#…
Browse files Browse the repository at this point in the history
…18)

Also:

- Require nightly only for "build" subcommand, instead of for all
subcommands
  • Loading branch information
nikarh authored Apr 1, 2024
1 parent 123ffeb commit f3a4db4
Show file tree
Hide file tree
Showing 13 changed files with 280 additions and 252 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- 'main'
- "main"

env:
RUSTFLAGS: -D warnings
Expand Down Expand Up @@ -44,14 +44,14 @@ jobs:
run: cargo check --all-targets --all-features
- name: "`cargo test`"
run: cargo test --no-fail-fast --verbose --locked
clippy:
name: Clippy
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: rust-toolchain
uses: dtolnay/rust-toolchain@stable
- name: "`cargo deny`"
uses: EmbarkStudios/cargo-deny-action@v1
- name: "`cargo clippy`"
run: cargo clippy --all-targets --all-features

Loading

0 comments on commit f3a4db4

Please sign in to comment.