This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
# We assume the runner is on x86. | |
jobs: | |
check_stable: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default stable | |
- run: cargo fmt --check | |
- run: cargo fetch --quiet --locked | |
- run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings | |
- run: cargo xtask | |
check_msrv: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default 1.71 | |
- run: cargo fetch --locked | |
- run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings | |
- run: cargo xtask |