Skip to content

Commit d564a1e

Browse files
committed
Run a job against MSRV
From the comment above the job being changed here, it seems that this job was supposed to be run with MSRV Rust but it uses the latest stable instead. Let's make it work as it was intended. This would hopefully catch us unintentionally bumping the MSRV.
1 parent 628b52f commit d564a1e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ jobs:
345345
testcfail:
346346
name: testcfail
347347
runs-on: ubuntu-latest
348+
env:
349+
RUSTFLAGS: -D warnings
350+
MSRV: 1.87.0
348351
defaults:
349352
run:
350353
working-directory: cfail
@@ -374,7 +377,9 @@ jobs:
374377
${{ runner.OS }}-build-
375378
376379
- name: Install Rust
377-
uses: dtolnay/rust-toolchain@stable
380+
uses: dtolnay/rust-toolchain@master
381+
with:
382+
toolchain: ${{ env.MSRV }}
378383

379384
- name: Run cargo
380385
run: cargo run

0 commit comments

Comments
 (0)