Merge pull request #125 from alexanderkjall/upgrade-miniz #199
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: Check | |
on: | |
pull_request: {} | |
push: | |
branches: master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run cargo check | |
run: cargo check --locked | |
- name: Run cargo clippy | |
run: cargo clippy -- -D warnings | |
- name: Check format | |
run: cargo fmt -- --check |