]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: fix debian 10 test using rustup 5567/head
authorVictor Julien <victor@inliniac.net>
Sun, 15 Nov 2020 07:06:17 +0000 (08:06 +0100)
committerVictor Julien <victor@inliniac.net>
Sun, 15 Nov 2020 07:06:17 +0000 (08:06 +0100)
.github/workflows/builds.yml

index 85fd027a53409f5451792fed2ebf44bdd27a8e17..4e1dbba6ec5f3cb02ca0d2ab7329b5876ad12901 100644 (file)
@@ -1011,10 +1011,12 @@ jobs:
                 make \
                 python-yaml \
                 pkg-config \
-                rustc \
                 sudo \
                 zlib1g \
                 zlib1g-dev
+      - name: Install Rust
+        run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
+      - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
       - name: Install cbindgen
         run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH