Skip to content

Commit

Permalink
just ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nugine committed Jul 21, 2024
1 parent 0a971fe commit 42dd35e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ jobs:
toolchain: ${{ matrix.toolchain }}
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings
- run: |
if [ ${{ matrix.toolchain }} == "nightly" ]; then
cargo clippy -- -D warnings
else
cargo clippy -- -D warnings -A unknown-lints
fi
- run: cargo test --all-features

cross:
Expand Down
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ sync-version:

publish:
cargo publish -p rlimit

ci:
just fmt
cargo check
cargo +nightly clippy -- -D warnings
cargo +stable clippy -- -D warnings -A unknown-lints

0 comments on commit 42dd35e

Please sign in to comment.