Merge pull request #10 from chrissimpkins/add-types #66
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: rustfmt Checks | |
on: | |
push: | |
branches: main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
rustfmt-checks: | |
runs-on: ubuntu-latest | |
name: rustfmt checks | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Install the latest stable Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- name: Run rustfmt check | |
run: cargo fmt --all --check |