Skip to content

back: proto timeout #1932

back: proto timeout

back: proto timeout #1932

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: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18.5
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Generate Code
run: |
./ci/check-code-and-docs-gen.sh
test:
name: Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18.5
# Required for codegen tests
- uses: engineerd/[email protected]
with:
skipClusterCreation: "true"
version: v0.17.0
- name: Setup Kind
run: |
./ci/setup-kind.sh skv2-test-remote
- uses: azure/setup-kubectl@v1
with:
version: 'v1.24.7'
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- 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 ./...