Merge pull request #83 from jfrimmel/update-ci #60
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: Style | |
on: | |
push: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
# Check correct formatting | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update stable && rustup default stable | |
- run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt --all -- --check |