From 7e7314ff2b3ab1326343c632ae3e9a1169f629c3 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Thu, 9 Dec 2021 21:15:24 +0000 Subject: [PATCH] github: Set toolchain override This ensures that the cache action uses the correct Rust version Signed-off-by: Dave Tucker --- .github/workflows/build-aya-bpf.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-aya-bpf.yml b/.github/workflows/build-aya-bpf.yml index 975cba6f..d331aec3 100644 --- a/.github/workflows/build-aya-bpf.yml +++ b/.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