Skip to content

bump Golang to v1.23.1 #1146

bump Golang to v1.23.1

bump Golang to v1.23.1 #1146

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
pull:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
target:
- verify
- build
- test
# - test-integration
- e2e-examples
- e2e-v1.24
- e2e-v1.25
- e2e-v1.26
- e2e-v1.27
- e2e-v1.28
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache-dependency-path: "**/*.sum"
- name: make ${{ matrix.target }}
run: |
# workaround for https://github.com/actions/setup-go/issues/14
export GOPATH=${GITHUB_WORKSPACE}/go
export PATH=$PATH:$GOPATH/bin
if [ "$target" == "test-integration" ]; then export GOFLAGS="-v"; fi
if [[ "$target" == e2e-v* ]]; then
IFS=- read a b <<<"$target"
SKIP_DOWN=y KUBE_VERSION=$b GINKGO_NODES=4 make e2e
else
make $target
fi
env:
target: ${{ matrix.target }}
- name: Set up tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 15