Skip to content

Commit 76ecf83

Browse files
committed
ci: Remove duplicate checks
1 parent 9661038 commit 76ecf83

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

.github/workflows/pr_general.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -63,62 +63,6 @@ jobs:
6363
with:
6464
command: check ${{ matrix.checks }}
6565

66-
run_rustfmt:
67-
name: Run Rustfmt
68-
runs-on: ubuntu-latest
69-
steps:
70-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
71-
with:
72-
submodules: recursive
73-
- uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e # v1
74-
with:
75-
toolchain: ${{ env.RUST_VERSION }}
76-
components: rustfmt
77-
- run: cargo fmt --all -- --check
78-
79-
run_clippy:
80-
name: Run Clippy
81-
runs-on: ubuntu-latest
82-
steps:
83-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
84-
with:
85-
submodules: recursive
86-
87-
- uses: dtolnay/rust-toolchain@0e66bd3e6b38ec0ad5312288c83e47c143e6b09e # v1
88-
with:
89-
toolchain: ${{ env.RUST_VERSION }}
90-
components: clippy
91-
92-
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
93-
with:
94-
go-version: ${{ env.GO_VERSION }}
95-
96-
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
97-
with:
98-
key: clippy
99-
100-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
101-
with:
102-
node-version: 18
103-
cache: yarn
104-
105-
- run: yarn install --frozen-lockfile
106-
- name: Run clippy action to produce annotations
107-
env:
108-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109-
uses: giraffate/clippy-action@94e9bd8deab2618756ec5380f12eb35bcb0a88ca
110-
if: env.GITHUB_TOKEN != null
111-
with:
112-
clippy_flags: --all-targets -- -D warnings
113-
github_token: ${{ secrets.GITHUB_TOKEN }}
114-
reporter: "github-pr-check"
115-
116-
- name: Run clippy manually without annotations
117-
env:
118-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119-
if: env.GITHUB_TOKEN == null
120-
run: cargo clippy --all-targets -- -D warnings
121-
12266
run_rustdoc:
12367
name: Run RustDoc
12468
runs-on: ubuntu-latest
@@ -179,8 +123,6 @@ jobs:
179123
needs:
180124
- run_udeps
181125
- run_cargodeny
182-
- run_clippy
183-
- run_rustfmt
184126
- run_rustdoc
185127
- run_tests
186128
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)