Skip to content

Commit

Permalink
CI: add build for MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
ystreet committed Feb 14, 2024
1 parent 100808c commit b7f793e
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,21 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
toolchain: ['1.58', stable]

steps:
- uses: actions/checkout@v2
- name: Install ${{ matrix.toolchain }}
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Use MSRV Cargo.lock
run: cp Cargo.lock.msrv Cargo.lock
if: matrix.toolchain == '1.58'
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
72 changes: 72 additions & 0 deletions Cargo.lock.msrv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7f793e

Please sign in to comment.