Skip to content

Reorder environment variables #2067

Reorder environment variables

Reorder environment variables #2067

Workflow file for this run

name: pull_request
on:
push:
branches:
- 'master'
pull_request:
jobs:
gen:
name: Code Gen
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
id: go
- name: Generate Code
run: |
./ci/check-code-and-docs-gen.sh
test:
name: Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go 1.22
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
# Required for codegen tests
- name: Install kind
uses: helm/kind-action@v1.5.0
with:
install_only: true
version: v0.17.0
- name: Setup Kind
run: |
./ci/setup-kind.sh skv2-test-remote
- uses: azure/setup-kubectl@v3
with:
version: 'v1.24.7'
- name: Install deps for codegen
run: |
make install-tools
- name: Run tests
run: |
REMOTE_CLUSTER_CONTEXT=kind-skv2-test-remote PATH="$(pwd)/_output/.bin:$PATH" go test ./...