Skip to content

Commit

Permalink
ci: Separate clippy and build for build release job
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas0008 committed Aug 22, 2024
1 parent b27f6c2 commit 10ed8c0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,17 @@ jobs:
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- run: cargo build --verbose --release
- run: cargo clippy --release --all-targets --all-features --no-default-features -- -D warnings
clippy_release:
name: Run lints in release mode
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable

steps:
- uses: actions/checkout@v4

- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- run: cargo clippy --release --all-targets --all-features --no-default-features -- -D warnings

0 comments on commit 10ed8c0

Please sign in to comment.