Skip to content

Commit

Permalink
Moves Clippy lints checking to a separate job.
Browse files Browse the repository at this point in the history
This fixes parallaxsecond#468.

Signed-off-by: Jesper Brynolf <[email protected]>
  • Loading branch information
Superhepper committed Dec 16, 2023
1 parent 9c7eb46 commit 86d48fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,12 @@ jobs:
run: docker build -t ubuntucontainer tss-esapi/tests/ --file tss-esapi/tests/Dockerfile-ubuntu
- name: Check documentation
run: docker run -v $(pwd):/tmp/rust-tss-esapi -w /tmp/rust-tss-esapi/tss-esapi -e RUSTDOCFLAGS="-Dwarnings" ubuntucontainer cargo doc --document-private-items --no-deps

# Check that there are no Clippy lint errors.
clippy:
name: Check Clippy lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check Clippy lints
run: cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo
5 changes: 0 additions & 5 deletions tss-esapi/tests/all-fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ tpm2-abrmd \
--session \
--flush-all &

##################
# Execute clippy #
##################
cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo

###################
# Build the crate #
###################
Expand Down
5 changes: 0 additions & 5 deletions tss-esapi/tests/all-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ tpm_server &
sleep 5
tpm2_startup -c -T mssim

##################
# Execute clippy #
##################
cargo clippy --all-targets --all-features -- -D clippy::all -D clippy::cargo

###################
# Build the crate #
###################
Expand Down

0 comments on commit 86d48fc

Please sign in to comment.