Przeglądaj źródła

github: Set toolchain override

This ensures that the cache action uses the correct Rust version

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Dave Tucker 3 lat temu
rodzic
commit
7e7314ff2b
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      .github/workflows/build-aya-bpf.yml

+ 3 - 2
.github/workflows/build-aya-bpf.yml

@@ -23,11 +23,12 @@ jobs:
       - uses: actions-rs/toolchain@v1
         with:
           toolchain: nightly
+          override: true
 
       - uses: Swatinem/rust-cache@v1
 
       - name: Build
-        run: cargo +nightly build --verbose
+        run: cargo build --verbose
 
       - name: Run tests
-        run: RUST_BACKTRACE=full cargo +nightly test --verbose
+        run: RUST_BACKTRACE=full cargo test --verbose