Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1ef53bd..21bb51b2 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/[email protected] + 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/[email protected] + 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/[email protected] + 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/[email protected] + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.MSRV }} - uses: Swatinem/rust-cache@v2 with: |