Skip to content

Commit

Permalink
ci: automate MSRV test
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 15, 2024
1 parent 820e517 commit cb54284
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,25 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [ nightly, beta, stable, 1.75.0 ]
toolchain: [ nightly, beta, stable ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.toolchain}}
- name: Toolchain ${{matrix.toolchain}}
run: cargo +${{matrix.toolchain}} check --workspace --all-targets --all-features
msrv:
runs-on: ubuntu-latest
steps:
- uses: SebRollen/[email protected]
id: msrv
with:
file: 'Cargo.toml'
field: 'workspace.rust-version'
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{steps.msrv.outputs.value}}
- name: Toolchain ${{msrv}}
run: cargo +${{steps.msrv.outputs.value}} check --workspace --all-targets --all-features

0 comments on commit cb54284

Please sign in to comment.