]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: pin rust version for clippy tests 12743/head
authorJason Ish <jason.ish@oisf.net>
Sat, 8 Mar 2025 16:12:50 +0000 (17:12 +0100)
committerVictor Julien <victor@inliniac.net>
Sun, 9 Mar 2025 06:29:35 +0000 (07:29 +0100)
Prevents CI breakage after a new Rust release until we're ready to make
the changes.

.github/workflows/rust.yml

index 5c05ccadb1f3f1d4c2ff272f48e43e01a901a558..b06796dc036339ddf99e224807bfe1b529c91c4c 100644 (file)
@@ -29,10 +29,8 @@ jobs:
                 autoconf \
                 automake \
                 bindgen \
-                cargo \
                 cbindgen \
                 clang-devel \
-                clippy \
                 diffutils \
                 numactl-devel \
                 dpdk-devel \
@@ -59,12 +57,11 @@ jobs:
                 python3-devel \
                 python3-sphinx \
                 python3-yaml \
-                rust \
-                rustfmt \
                 sudo \
                 which \
                 zlib-devel
-
+      - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.85.0 -y
+      - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
       - run: git config --global --add safe.directory /__w/suricata/suricata
       - run: ./scripts/bundle.sh