Merge pull request #1097 from foresterre/dependabot/cargo/petgraph-0.7.0 #1185
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: "ci-fmt" | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- main | |
merge_group: | |
jobs: | |
fmt: | |
name: fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout_repository | |
uses: actions/checkout@v4 | |
- name: install_rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- name: check_formatting | |
run: | | |
cargo fmt -- --check |