Skip to content

Use Go 1.22 in GitHub Actions #651

Use Go 1.22 in GitHub Actions

Use Go 1.22 in GitHub Actions #651

Workflow file for this run

---
on:
pull_request:
branches:
- main
push:
branches:
- main
name: End-to-End (E2E) Tests
jobs:
test-e2e:
strategy:
fail-fast: false
matrix:
kubernetes:
- v1.27.11
- v1.29.2
max-parallel: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Go and ko
uses: ./.github/actions/setup
- uses: helm/kind-action@v1
with:
version: v0.22.0
node_image: kindest/node:${{ matrix.kubernetes }}
cluster_name: kind
config: test/kind/config.yaml
wait: 120s
- uses: shipwright-io/setup@v1
with:
tekton-version: v0.50.5
shipwright-ref: main
cli-ref: _ignore
- name: CLI Build (shp)
run: make build
- name: End-to-End Tests
run: make test-e2e
- name: Pods
if: ${{ failure() }}
run: |
echo "# Pods:"
kubectl get pod -A -o yaml