Skip to content

Commit

Permalink
Run clippy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Oct 10, 2024
1 parent 7b74302 commit d1300ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy

- name: Install latest nightly
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rust-src
components: clippy, rust-src

- uses: Swatinem/rust-cache@v2

Expand Down
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ cargo generate --path "${TEMPLATE_DIR}" -n test -d program_type="${PROG_TYPE}" $
pushd test
cargo xtask build
cargo xtask build --release
cargo clippy --workspace --all-targets
popd
exit 0

0 comments on commit d1300ef

Please sign in to comment.