chore: script to update golang; update go to 1.23.5 #997
Workflow file for this run
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 | |
jobs: | |
verify-goimports: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
stable: true | |
- uses: actions/checkout@v2 | |
- name: verify-goimports | |
run: dev/ci/presubmits/verify-goimports | |
verify-gomod: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
stable: true | |
- uses: actions/checkout@v2 | |
- name: verify-gomod | |
run: dev/ci/presubmits/verify-gomod | |
kind-e2e: | |
name: Test with a Kind cluster | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Install latest version of Kind | |
run: | | |
go get sigs.k8s.io/kind | |
- name: Create Kind cluster | |
run: | | |
kind create cluster --config .github/workflows/kind-config.yaml | |
- name: Run some sanity checks | |
# kubectl is already installed on the Github Ubuntu worker | |
run: | | |
kubectl get nodes -o wide | |
kubectl get pods --all-namespaces -o wide | |
kubectl get services --all-namespaces -o wide |