Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
needs:
- crate_metadata
- lint
- test
- license_checks
- cargo-audit
steps:
Expand Down Expand Up @@ -59,6 +60,27 @@ jobs:
- name: Check formatting
run: cargo fmt --check

test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Comment thread
mike1858 marked this conversation as resolved.
strategy:
# Without this, a failure on one OS cancels the other and hides whether
# the problem is platform-specific, which is the main thing this job is
# here to tell apart.
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout source code
uses: actions/checkout@v4
Comment thread
mike1858 marked this conversation as resolved.
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustc-codegen-cranelift-preview
- name: Run tests
run: cargo test --locked
Comment thread
mike1858 marked this conversation as resolved.

license_checks:
name: License checks
runs-on: ubuntu-latest
Expand Down
Loading