Bump versions to prepare for breaking changes #796
Workflow file for this run
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
name: quitters | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/rustsec.yml" | |
- "quitters/**" | |
- "Cargo.*" | |
push: | |
branches: main | |
defaults: | |
run: | |
working-directory: quitters | |
env: | |
RUSTFLAGS: -D warnings | |
RUSTDOCFLAGS: -D warnings | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- 1.70.0 # MSRV of `cargo audit`, should be bumped in tandem | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
profile: minimal | |
- run: cargo check | |
- run: cargo test --release | |
doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
profile: minimal | |
- run: cargo doc --all-features |