diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc8c481..65b1cd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,3 +37,19 @@ jobs: - name: Run cargo test run: cargo test --locked + + msrv: + name: MSRV Check + runs-on: ubuntu-24.04 + steps: + - name: Check out repository + uses: actions/checkout@v5 + + - name: Install minimum supported Rust version + uses: dtolnay/rust-toolchain@1.85 + + - name: Restore Cargo cache + uses: Swatinem/rust-cache@v2 + + - name: Run cargo check + run: cargo check --locked --all-targets diff --git a/Cargo.toml b/Cargo.toml index 8105ee7..b72918f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "dagger" version = "0.2.0" edition = "2024" license = "GPL-3.0-or-later" +rust-version = "1.85" [[bin]] name = "dgr"