build(deps): bump cachix/install-nix-action from 26 to 27 #37
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: Auto Format | |
on: | |
pull_request: | |
jobs: | |
format-go-code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
check-latest: true | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.E2E_PAT }} | |
- run: go install mvdan.cc/gofumpt@latest | |
- run: make format | |
# Commit formatted files if necessary | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: run make format |