feat: pairs file path arg (#19) #30
This file contains hidden or 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: rust fmt check | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Install Rust nightly toolchain | |
| run: rustup toolchain install nightly | |
| - name: Install rustfmt component | |
| run: rustup component add rustfmt --toolchain nightly | |
| - name: Run rustfmt check | |
| run: cargo +nightly fmt -- --check --config imports_granularity=Crate --config group_imports=StdExternalCrate |