add ValidatingConfigurationWebhook to convertUnstructured #221
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: pull_request | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'main' | |
pull_request: | |
env: | |
KUBE_VERSION: v1.29.2 | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go 1.22.2 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.2 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go | |
- uses: azure/setup-kubectl@v3 | |
with: | |
version: ${{ env.KUBE_VERSION }} | |
- name: Install kind | |
uses: helm/[email protected] | |
with: | |
node_image: "kindest/node:${{ env.KUBE_VERSION }}" | |
- name: Run tests | |
env: | |
TEST_PKG: ./... # Run all tests | |
run: make test |