From 7425e7bd2d345931368dac5488310ad2274b40b6 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 11 Oct 2024 05:47:35 -0400 Subject: [PATCH] Add Rust 1.80.1 to CI --- .github/workflows/ci.yml | 6 +++++- {{project-name}}/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 614c897..3e17667 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: strategy: fail-fast: false matrix: + rust: + - stable + - 1.80.1 program: - kprobe - kretprobe @@ -49,8 +52,9 @@ jobs: with: components: rust-src,rustfmt - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@master with: + toolchain: ${{ matrix.rust }} components: clippy - uses: Swatinem/rust-cache@v2 diff --git a/{{project-name}}/Cargo.toml b/{{project-name}}/Cargo.toml index 23dd42c..c5af123 100644 --- a/{{project-name}}/Cargo.toml +++ b/{{project-name}}/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] {{project-name}}-common = { path = "../{{project-name}}-common", features = ["user"] } -anyhow = { workspace = true } +anyhow = { workspace = true, default-features = true } aya = { workspace = true } aya-log = { workspace = true } env_logger = {workspace = true }