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]
main
Tamir Duberstein 1 month ago
parent 6580d77fa4
commit 273f30a0da

@ -26,8 +26,6 @@ jobs:
matrix: matrix:
runner: runner:
- ubuntu-latest # x86 - ubuntu-latest # x86
rust:
- 1.80.1
program: program:
- kprobe - kprobe
- kretprobe - kretprobe
@ -50,10 +48,8 @@ jobs:
- tracepoint - tracepoint
include: include:
- runner: macos-13 # x86 - runner: macos-13 # x86
rust: 1.80.1
program: kprobe program: kprobe
- runner: macos-14 # arm64 - runner: macos-14 # arm64
rust: 1.80.1
program: kprobe program: kprobe
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
@ -65,22 +61,18 @@ jobs:
with: with:
components: clippy,rust-src,rustfmt components: clippy,rust-src,rustfmt
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@stable
if: runner.os == 'macOS' && runner.arch == 'X64' if: runner.os == 'macOS' && runner.arch == 'X64'
with: with:
toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-musl targets: x86_64-unknown-linux-musl
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@stable
if: runner.os == 'macOS' && runner.arch == 'ARM64' if: runner.os == 'macOS' && runner.arch == 'ARM64'
with: with:
toolchain: ${{ matrix.rust }}
targets: aarch64-unknown-linux-musl targets: aarch64-unknown-linux-musl
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@stable
if: runner.os == 'Linux' if: runner.os == 'Linux'
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2

Loading…
Cancel
Save