Merge pull request #1266 from k8snetworkplumbingwg/dependabot/go_modu… #1085
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Build | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: [1.20.x, 1.21.x] | |
goarch: [386, amd64, arm, arm64, ppc64le, s390x] | |
os: [ubuntu-latest] #, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build | |
env: | |
GOARCH: ${{ matrix.goarch }} | |
GOOS: ${{ matrix.goos }} | |
run: ./hack/build-go.sh |