Update kubebuilder and the project #1236
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.22.x] | |
k8s_version: [1.24.1, 1.27.1, 1.30.0] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: | | |
make test | |
env: | |
ENVTEST_K8S_VERSION: ${{ matrix.k8s_version }} |