Update to use golang 1.21 and e2e test K8s versions #54
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: e2e tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-e2e-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
# get these here: https://github.com/kubernetes-sigs/kind/releases | |
- version: "1.28" | |
image: kindest/node:v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31 | |
- version: "1.27" | |
image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72 | |
- version: "1.26" | |
image: kindest/node:v1.26.6@sha256:6e2d8b28a5b601defe327b98bd1c2d1930b49e5d8c512e1895099e4504007adb | |
- version: "1.25" | |
image: kindest/node:v1.25.11@sha256:227fa11ce74ea76a0474eeefb84cb75d8dad1b08638371ecf0e86259b35be0c8 | |
- version: "1.24" | |
image: kindest/node:v1.24.15@sha256:7db4f8bea3e14b82d12e044e25e34bd53754b7f2b0e9d56df21774e6f66a70ab | |
steps: | |
- name: Create k8s Kind Cluster - ${{ matrix.version }} | |
uses: helm/[email protected] | |
with: | |
node_image: ${{ matrix.image }} | |
- name: Show cluster version | |
run: kubectl version | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.21" | |
- uses: actions/checkout@v2 | |
- run: go build | |
- name: e2e test | |
run: tests/e2e.sh |