Skip to content

Commit

Permalink
Fix msrv CI: Check for --all-features and macos
Browse files Browse the repository at this point in the history
To make sure that enabling `parallel` feature would not require bumping
msrv.

Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Oct 27, 2023
1 parent 8cf12c5 commit ba2cd0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
feature: ["", "--all-features"]
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: |
rustup toolchain install 1.46.0 --no-self-update --profile minimal
rustup default 1.46.0
shell: bash
- run: cargo check --lib
- run: cargo check --lib ${{ matrix.feature }}

rustfmt:
name: Rustfmt
Expand Down

0 comments on commit ba2cd0f

Please sign in to comment.