Skip to content

ConvertUnstructured cronjob (#49) #201

ConvertUnstructured cronjob (#49)

ConvertUnstructured cronjob (#49) #201

Workflow file for this run

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