action.yml
1name: "Check formatting"
2description: "Checks code formatting use cargo fmt"
3
4runs:
5 using: "composite"
6 steps:
7 - name: cargo fmt
8 shell: bash -euxo pipefail {0}
9 run: cargo fmt --all -- --check
10
11 - name: Find modified migrations
12 shell: bash -euxo pipefail {0}
13 run: |
14 export SQUAWK_GITHUB_TOKEN=${{ github.token }}
15 . ./script/squawk