Skip to content

Commit 51caf08

Browse files
committed
CI: RUST_VERSION_OLD set to "1.81.0" due to idna@1 requirements
idna >=1.0.0 is required by https://rustsec.org/advisories/RUSTSEC-2024-0421 Rust cache step reverted to it original position as of incorrect usage in previous commit
1 parent 3220468 commit 51caf08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
CARGO_TERM_COLOR: always
1313
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
14-
RUST_VERSION_OLD: "1.71.1"
14+
RUST_VERSION_OLD: "1.81.0"
1515
RUST_VERSION_NEW: "1.86.0"
1616

1717
jobs:
@@ -53,9 +53,6 @@ jobs:
5353
toolchain: nightly
5454
components: clippy, rustfmt
5555

56-
- name: Rust cache
57-
uses: Swatinem/rust-cache@v2
58-
5956
- name: Cargo install
6057
if: matrix.rust_version == 'RUST_VERSION_NEW'
6158
run: cargo install cargo-sort cargo-udeps cargo-audit cargo-pants
@@ -73,6 +70,9 @@ jobs:
7370
echo "CARGO_INCREMENTAL=$CARGO_INCREMENTAL"
7471
echo "name=version::$(rustc --version | cut -d ' ' -f 2)" >> $GITHUB_OUTPUT
7572
73+
- name: Rust cache
74+
uses: Swatinem/rust-cache@v2
75+
7676
- name: Rustfmt check
7777
if: matrix.rust_version == 'RUST_VERSION_NEW'
7878
run: cargo fmt --check

0 commit comments

Comments
 (0)