Skip to content
Draft
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
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ jobs:
go-version: ${{ matrix.go }}
- name: Test
run: go test -v ./...
- name: Cross-compile
# One host OS suffices to cross-compile for all targets.
if: runner.os == 'Linux'
env:
CGO_ENABLED: "0"
run: |
for target in $(go tool dist list); do
echo "# building for $target"
GOOS=${target%/*} GOARCH=${target#*/} go build ./...
done
lint:
runs-on: ubuntu-latest
steps:
Expand Down
Loading