@@ -4,7 +4,7 @@ name: Pull Request General
44on : workflow_call
55
66env :
7- RUST_VERSION : 1.83 .0
7+ RUST_VERSION : 1.85 .0
88 GO_VERSION : ' ^1.22.5'
99 CARGO_TERM_COLOR : always
1010 CARGO_INCREMENTAL : " 0"
4242 with :
4343 key : udeps
4444 cache-all-crates : " true"
45- - run : cargo install --locked cargo-udeps@0.1.50
45+ - run : cargo install --locked cargo-udeps@0.1.55
4646 - run : cargo udeps --workspace
4747
4848 run_cargodeny :
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