Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests for MSRV, on macOS versions, and fix toolchain #614

Merged
merged 4 commits into from Aug 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 7 additions & 14 deletions .github/workflows/rust.yml
Expand Up @@ -24,27 +24,21 @@ jobs:
semver:
runs-on: macos-11.0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
msrv:
runs-on: macos-11.0
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
override: true
- name: Build
run: cargo build --verbose
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11.0, macos-12, macos-13]
toolchain: [stable, 1.56.1]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Build
run: cargo build --verbose
- name: Run tests
Expand All @@ -54,7 +48,6 @@ jobs:
runs-on: ubuntu-latest
needs:
- "build"
- "msrv"
- "semver"
steps:
- name: Mark the job as successful
Expand Down