feat: update to HPA v2 stable #135
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: Go Test | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/go-test.yml | |
- pkg/** | |
- cmd/** | |
- docs/** | |
- generated/** | |
- go.mod | |
- go.sum | |
- main.go | |
jobs: | |
linting: | |
name: Go lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.18.0' | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout=30m | |
test: | |
name: Go test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.18.0' | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Install | |
run: go install | |
- name: Test | |
run: go test -v ./... | |