From 273f30a0da40940c211815018b733232c9dc716b Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Tue, 17 Dec 2024 10:07:39 -0500 Subject: [PATCH] ci: use latest stable rust cargo_metadata depends on e.g. `home`[0] whose MSRV is N-2[1], so we can't easily pin our Rust version. Link: https://crates.io/crates/home [0] Link: https://github.com/rust-lang/cargo/commit/c6c1df47 [1] --- .github/workflows/ci.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b96f7ee..bf80658 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,8 +26,6 @@ jobs: matrix: runner: - ubuntu-latest # x86 - rust: - - 1.80.1 program: - kprobe - kretprobe @@ -50,10 +48,8 @@ jobs: - tracepoint include: - runner: macos-13 # x86 - rust: 1.80.1 program: kprobe - runner: macos-14 # arm64 - rust: 1.80.1 program: kprobe runs-on: ${{ matrix.runner }} @@ -65,22 +61,18 @@ jobs: with: components: clippy,rust-src,rustfmt - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable if: runner.os == 'macOS' && runner.arch == 'X64' with: - toolchain: ${{ matrix.rust }} targets: x86_64-unknown-linux-musl - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable if: runner.os == 'macOS' && runner.arch == 'ARM64' with: - toolchain: ${{ matrix.rust }} targets: aarch64-unknown-linux-musl - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable if: runner.os == 'Linux' - with: - toolchain: ${{ matrix.rust }} - uses: Swatinem/rust-cache@v2