Skip to content

Commit

Permalink
fix(ci): windows generate ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 13, 2024
1 parent e4dc77a commit becc99b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/windows-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
go-version-file: ./windows/go.mod
cache: true
cache-dependency-path: ./windows/go.sum
- run: go generate ./...
- uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion windows/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package windows

//go generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go
//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go

0 comments on commit becc99b

Please sign in to comment.