Fix for CI failure on go-fix-modernize--270b1737-ed47-45a7-86f7-80feb… #65
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: checks | |
| on: [push] | |
| jobs: | |
| go: | |
| name: go checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.26.4' | |
| cache: true | |
| - run: make fmt | |
| - name: Verify no changes | |
| run: | | |
| if [ -n "$(git status --porcelain)" ]; then | |
| git diff | |
| echo "::error::go mod tidy or go fmt needs to be run and the results committed" | |
| exit 1 | |
| fi | |
| - run: make check | |