- Updated `golang.org/x/sys` to v0.38.0 in `go.mod` and replaced `syscall` with `windows` package for memory allocation in `loader_windows.go`. - Improved cross-compilation in `.goreleaser.yml` using Zig-based toolchains for better platform support. - Changed GitHub Actions workflow to use macOS runners and added Zig toolchain setup.
Showing the changes to .github (1 of 4 files). Show all
Unified · Split
| @@ -11,7 +11,7 @@ permissions: · 10 unmodified lines | ||
| 11 | 11 | |
| 12 | 12 | jobs: |
| 13 | 13 | goreleaser: |
| 14 | − runs-on: ubuntu-latest | |
| 14 | + runs-on: macos-latest | |
| 15 | 15 | steps: |
| 16 | 16 | - uses: actions/checkout@v4 |
| 17 | 17 | with: |
| @@ -25,6 +25,9 @@ jobs: · 7 unmodified lines | ||
| 25 | 25 | with: |
| 26 | 26 | go-version: '>=1.26.0' |
| 27 | 27 | cache: true |
| 28 | + - uses: mlugg/setup-zig@v2 | |
| 29 | + with: | |
| 30 | + version: 0.16.0 | |
| 28 | 31 | - name: Generate Build Metadata |
| 29 | 32 | run: | |
| 30 | 33 | echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV |