chore: update CRDs after lint fixes #36
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: PR Check | |
on: | |
pull_request: {} | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run unit tests | |
run: make lint | |
build: | |
name: Test & Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Run unit tests | |
run: make test | |
- name: Build | |
run: make build |