Lock file maintenance #735
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: | |
- main | |
pull_request: | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: rustup set profile minimal | |
- run: rustup show | |
- run: cargo check --all-targets | |
env: | |
RUSTFLAGS: "-D warnings" | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: rustup set profile minimal | |
- run: rustup show | |
- run: cargo test | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: rustup set profile minimal | |
- run: rustup show | |
- run: rustup component add rustfmt | |
- run: cargo fmt -- --check | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: rustup set profile minimal | |
- run: rustup show | |
- run: rustup component add clippy | |
- run: cargo clippy -- --deny warnings --allow clippy::unknown-clippy-lints |