Merge pull request #824 from stm32-rs/r0221 #2614
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
on: | |
push: | |
branches: [ staging, trying, master ] | |
pull_request: | |
merge_group: | |
name: Code formatting check | |
jobs: | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use the latest stable rustc | |
run: rustup update stable && rustup default stable | |
- run: cargo fmt --all -- --check |