Increases MSRV to 1.63 #390
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
fmt: | |
name: fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update && rustup component add rustfmt | |
- run: cargo fmt -- --check | |
clippy: | |
name: clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update && rustup component add clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo clippy --all --all-targets | |
clippy_msrv: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update && rustup override set 1.63.0 && rustup component add clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | |
- run: cargo clippy --all-targets --all-features -- -D warnings -D clippy::all | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: rustup update | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test --verbose --all --all-features | |
env: | |
RUST_BACKTRACE: 1 | |
rustdoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo doc --all-features --no-deps | |
rustdoc_msrv: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update && rustup override set 1.63.0 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo doc --all-features --no-deps | |
env: | |
RUSTDOCFLAGS: -D warnings | |
deny: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo install cargo-deny || true | |
- run: cargo deny check | |
semver_checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: rustup update | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo install cargo-semver-checks || true | |
- run: cargo semver-checks check-release --exclude rio_testsuite | |
typos: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo install typos-cli || true | |
- run: typos |