Skip to content

Commit

Permalink
Implement and document MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon committed Aug 27, 2024
1 parent aa276c8 commit 3ba6dbe
Show file tree
Hide file tree
Showing 4 changed files with 879 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,20 @@ jobs:
- name: Run rustfmt --check
run: cargo fmt -- --check

msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# rust-version from Cargo.toml
- name: Install Rust 1.66.0
uses: dtolnay/[email protected]
- name: Use predefined lockfile
run: mv Cargo.lock.MSRV Cargo.lock
- name: Build (lib only)
run: cargo check --locked

test:
needs: [clippy, fmt]
needs: [clippy, fmt, msrv]
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
Loading

0 comments on commit 3ba6dbe

Please sign in to comment.