Skip to content

Commit

Permalink
Add MSRV to CI build-and-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cessen committed Nov 7, 2023
1 parent 7bb5259 commit 2a53e58
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ env:
CARGO_TERM_COLOR: always

jobs:
build-and-test-stable:
build-and-test:
name: Build and test, Rust-stable
strategy:
matrix:
toolchain:
- stable
- "1.65"
runs-on: ubuntu-latest
steps:
# Get a checkout and rust toolchain.
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{matrix.toolchain}}
override: true

# Build and test
- run: cargo +stable build
- run: cargo +stable test
- run: cargo +stable bench --no-run
- run: cargo +${{matrix.toolchain}} build
- run: cargo +${{matrix.toolchain}} test
- run: cargo +${{matrix.toolchain}} bench --no-run

0 comments on commit 2a53e58

Please sign in to comment.