Skip to content

Compatibility

Compatibility #5

Workflow file for this run

name: Compatibility
on:
schedule:
# Run away from the top of the hour, when scheduled Actions are most likely to be delayed.
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#schedule
- cron: "23 7 * * 1"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
compatibility:
name: ${{ matrix.rust }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022, macos-15]
rust: [beta, nightly]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install Rust
uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c
with:
toolchain: ${{ matrix.rust }}
# This workflow does not run for pull requests, so compatibility failures stay visible
# without becoming required merge checks.
- name: Run compatibility tests
run: cargo test --locked --all-targets --all-features -- --test-threads 1