瀏覽代碼

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 年之前
父節點
當前提交
7e7314ff2b
共有 1 個文件被更改,包括 3 次插入2 次删除
  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