Let the classes! macro handle potential trailing comma. #69
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: Tests | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Run tests | |
run: cargo test --all-features --locked | |
- name: Install tools | |
run: rustup component add clippy rustfmt | |
- name: Clippy | |
run: cargo clippy | |
- name: Cargo fmt | |
run: cargo fmt --all -- --check |