Skip to content

Commit

Permalink
CI: run Clippy in a separate job for several targets
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jun 12, 2024
1 parent 79c29da commit 2f51cf0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-06-11
components: clippy
- name: Linux
run: cargo clippy -Zbuild-std --target x86_64-unknown-linux-gnu
- name: Windows
run: cargo clippy -Zbuild-std --target x86_64-pc-windows-gnu
- name: macOS
run: cargo clippy -Zbuild-std --target x86_64-apple-darwin

check-doc:
name: Docs, deadlinks, minimal dependencies
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 2f51cf0

Please sign in to comment.