Skip to content

Merge pull request #742 from foresterre/dependabot/cargo/parameterize… #270

Merge pull request #742 from foresterre/dependabot/cargo/parameterize…

Merge pull request #742 from foresterre/dependabot/cargo/parameterize… #270

Workflow file for this run

name: "ci-fmt"
on:
pull_request:
push:
branches:
- master
- main
- staging # for Bors
- trying # for Bors
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: checkout_repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: install_rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: install_rustfmt
run: rustup component add rustfmt
- name: check_formatting
run: |
cargo fmt -- --check