Skip to content

Commit 037f379

Browse files
committed
chore(ci): Remove rustfmt/clippy next jobs
1 parent afd6a45 commit 037f379

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

.github/workflows/rust-next.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -38,51 +38,3 @@ jobs:
3838
run: cargo test --workspace --all-features
3939
- name: No-default features
4040
run: cargo test --workspace --no-default-features
41-
rustfmt:
42-
name: rustfmt
43-
strategy:
44-
matrix:
45-
rust:
46-
- stable
47-
- beta
48-
continue-on-error: ${{ matrix.rust != 'stable' }}
49-
runs-on: ubuntu-latest
50-
steps:
51-
- name: Checkout repository
52-
uses: actions/checkout@v3
53-
- name: Install Rust
54-
uses: dtolnay/rust-toolchain@stable
55-
with:
56-
toolchain: ${{ matrix.rust }}
57-
components: rustfmt
58-
- uses: Swatinem/rust-cache@v2
59-
- name: Check formatting
60-
run: cargo fmt --all -- --check
61-
clippy:
62-
name: clippy
63-
runs-on: ubuntu-latest
64-
permissions:
65-
security-events: write # to upload sarif results
66-
steps:
67-
- name: Checkout repository
68-
uses: actions/checkout@v3
69-
- name: Install Rust
70-
uses: dtolnay/rust-toolchain@stable
71-
with:
72-
toolchain: stable
73-
components: clippy
74-
- uses: Swatinem/rust-cache@v2
75-
- name: Install SARIF tools
76-
run: cargo install clippy-sarif sarif-fmt
77-
- name: Check
78-
run: >
79-
cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated
80-
| clippy-sarif
81-
| tee clippy-results.sarif
82-
| sarif-fmt
83-
continue-on-error: true
84-
- name: Upload
85-
uses: github/codeql-action/upload-sarif@v2
86-
with:
87-
sarif_file: clippy-results.sarif
88-
wait-for-processing: true

0 commit comments

Comments
 (0)