update Go to 1.19; add tip-kubernetes for unit tests #660
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: "Unit Test" | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.19.x] | |
k8s_version: [1.19.2, 1.24.1, 1.27.1] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
make test-setup-ci | |
make test | |
env: | |
ENVTEST_K8S_VERSION: ${{ matrix.k8s_version }} |