diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1ef53bdf..21bb51b2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ on: schedule: - cron: "00 01 * * *" +env: + MSRV: "1.76" + jobs: check: name: Check (msrv) @@ -18,7 +21,9 @@ jobs: uses: actions/checkout@v4 - name: Install MSRV toolchain - uses: dtolnay/rust-toolchain@1.76 + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.MSRV }} - uses: Swatinem/rust-cache@v2 with: @@ -39,7 +44,9 @@ jobs: uses: actions/checkout@v4 - name: Install MSRV toolchain - uses: dtolnay/rust-toolchain@1.76 + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.MSRV }} - uses: Swatinem/rust-cache@v2 with: @@ -71,8 +78,9 @@ jobs: uses: actions/checkout@v4 - name: Install MSRV toolchain - uses: dtolnay/rust-toolchain@1.76 + uses: dtolnay/rust-toolchain@master with: + toolchain: ${{ env.MSRV }} components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -99,7 +107,9 @@ jobs: uses: actions/checkout@v4 - name: Install MSRV toolchain - uses: dtolnay/rust-toolchain@1.76 + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.MSRV }} - uses: Swatinem/rust-cache@v2 with: