From 2d2878c158a56a2aaebfd940aa0c4f5694867203 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Mon, 23 Sep 2024 17:00:04 +0200 Subject: [PATCH] Dedup --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9d9c509..eb48d807 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: pull_request: workflow_dispatch: +env: + RUST_TOOLCHAIN: '1.80' + jobs: test: runs-on: ubuntu-22.04 @@ -19,7 +22,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.80' + toolchain: ${{ env.RUST_TOOLCHAIN }} # Compile, but don't run. - run: cargo test --no-run @@ -35,6 +38,6 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: - toolchain: '1.80' + toolchain: ${{ env.RUST_TOOLCHAIN }} - run: cargo fmt --all -- --check \ No newline at end of file