Skip to content

Commit

Permalink
fix: update GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Nov 26, 2024
1 parent d0b0cbf commit 683389b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
with:
go-version: '1.22'
cache: false
- name: Go Generate
run: go generate ./...

- name: Check `builtins` directory
# if it has any changes in the 'builtins' dir after running `go generate`, echo an error and fail the workflow
run: git diff --exit-code builtin/gen || (echo "\n\n\nbuiltin/gen directory is not up to date, run 'go generate ./...' to update it" && exit 1)
run: |
go generate ./builtin/gen
git diff --exit-code builtin/gen || (echo "\n\n\nbuiltin/gen directory is not up to date, run 'go generate ./...' to update it" && exit 1)
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down

0 comments on commit 683389b

Please sign in to comment.