Merge pull request #15925 from hakman/automated-cherry-pick-of-#15919… #3323
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
--- | |
name: CI | |
'on': | |
- push | |
- pull_request | |
env: | |
GOPROXY: https://proxy.golang.org | |
GOPATH: ${{ github.workspace }}/go | |
permissions: | |
contents: read | |
jobs: | |
build-linux-amd64: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 | |
with: | |
go-version: '1.20.6' | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
path: ${{ env.GOPATH }}/src/k8s.io/kops | |
- name: make all examples test | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
run: | | |
make all examples test | |
build-macos-amd64: | |
runs-on: macos-latest | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 | |
with: | |
go-version: '1.20.6' | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
path: ${{ env.GOPATH }}/src/k8s.io/kops | |
- name: make kops examples test | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
run: | | |
make kops examples test | |
build-windows-amd64: | |
runs-on: windows-2019 | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 | |
with: | |
go-version: '1.20.6' | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
path: ${{ env.GOPATH }}/src/k8s.io/kops | |
- name: make kops examples test | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
run: | | |
make kops examples test-windows | |
verify: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 | |
with: | |
go-version: '1.20.6' | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
path: ${{ env.GOPATH }}/src/k8s.io/kops | |
- name: make quick-ci | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
run: | | |
make quick-ci |