Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@ jobs:
go-version-file: go.mod

- name: Run Go tests
env:
# Test with the same environment as the build.
CGO_ENABLED: 0
Comment thread
ouillie marked this conversation as resolved.
run: go test ${{ env.go-modules }}

- name: Build binary
env:
# Disable cgo so the pre-built binary is statically linked for maximum compatibility.
CGO_ENABLED: 0
run: |
mkdir -p build
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o wit-bindgen-go ./cmd/wit-bindgen-go
Expand Down
Loading