Merge pull request #281 from spencerjanssen/auto-merge-flake-update #1071
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: Check formatting | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- flake-update | |
jobs: | |
check_formatting: | |
name: Run treefmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: cachix/install-nix-action@3715ab1a11cac9e991980d7b4a28d80c7ebdd8f9 # v27 | |
- run: | | |
nix develop --command treefmt | |
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3 # v1 | |
with: | |
tool_name: treefmt | |
level: warning | |
fail_on_error: true | |
filter_mode: nofilter |