Skip to content

Commit

Permalink
switch directory for tool installation
Browse files Browse the repository at this point in the history
this will stay till go 1.22 which will probably add tools
  • Loading branch information
fionera committed Oct 17, 2023
1 parent 033f669 commit ac05ebd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:

- name: Run go generate
run: |
cd internal/tools
go install golang.org/x/tools/cmd/stringer
cd ../..
go generate ./...
git diff --exit-code || (echo "Generated files have changed. Please run 'go generate' and commit the changes." && exit 1)
Expand Down

0 comments on commit ac05ebd

Please sign in to comment.