Merge pull request #182 from Redhawk18/main #432
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: Format | |
on: [push, pull_request] | |
jobs: | |
all: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: stable | |
components: rustfmt | |
- uses: actions/checkout@master | |
- name: Check format | |
run: cargo fmt --all -- --check |