Skip to content

Commit ac05ebd

Browse files
committed
switch directory for tool installation
this will stay till go 1.22 which will probably add tools
1 parent 033f669 commit ac05ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242

4343
- name: Run go generate
4444
run: |
45+
cd internal/tools
4546
go install golang.org/x/tools/cmd/stringer
47+
cd ../..
4648
4749
go generate ./...
4850
git diff --exit-code || (echo "Generated files have changed. Please run 'go generate' and commit the changes." && exit 1)

0 commit comments

Comments
 (0)