Use modern crates anyhow and thiserror instead of failure (#52) #123
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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run cargo fmt check | |
run: cargo fmt --all -- --check | |
- name: Run cargo tests verbosed | |
run: cargo test --verbose | |
- name: Run cargo clippy | |
run: cargo clippy --all-targets |