Bump the patch-and-minor group with 8 updates (#225) #338
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
windows_build_and_test: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo build | |
- run: cargo test | |
build_and_test: | |
runs-on: ubuntu-22.04 | |
container: rust:1.74 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo build | |
- run: cargo test | |
lint: | |
runs-on: ubuntu-22.04 | |
container: rust:1.74 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup component add clippy | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
fmt: | |
runs-on: ubuntu-22.04 | |
container: rust:1.74 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup component add rustfmt | |
- run: cargo fmt -- --check |