Piece writing #33
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: main | |
on: | |
- push | |
- pull_request | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
rustup set auto-self-update disable | |
rustup toolchain install stable --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check | |
run: cargo check | |
- name: Test | |
run: cargo test --verbose | |
- name: Clippy | |
run: cargo clippy -- -A clippy::format_collect |