]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: update debian 9 test to use known Rust version
authorJason Ish <jason.ish@oisf.net>
Tue, 1 Sep 2020 21:32:38 +0000 (15:32 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 4 Sep 2020 11:13:38 +0000 (13:13 +0200)
Choose Rust 1.39.0 as a known version of Rust that we build against
to see in CI if we build with this version, but fail with latest.

This is to cover a similar test from Travis CI.

.github/workflows/builds.yml

index 7a56829dc461ea59d667bf9d2725a9c82db8d751..9533e88bdee5ff1a36a6dafd7611753ca495b264 100644 (file)
@@ -22,6 +22,9 @@ env:
   # Apt sometimes likes to ask for user input, this will prevent that.
   DEBIAN_FRONTEND: "noninteractive"
 
+  # A known good Rust version we should test against.
+  RUST_VERSION_KNOWN: "1.37.0"
+
 jobs:
 
   prep:
@@ -1004,7 +1007,7 @@ jobs:
                 zlib1g \
                 zlib1g-dev
       - name: Install Rust
-        run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.34.2 -y
+        run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
       - run: echo "::add-path::$HOME/.cargo/bin"
       - name: Install cbindgen
         run: cargo install --force --debug --version 0.14.1 cbindgen