Bump k8s.io/api from 0.28.1 to 0.28.2 (#14) #67
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: build by commit | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
pull_request: | |
branches: | |
- master | |
env: | |
ARTIFACT_VERSION: ${{ github.ref_name }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Verify go.mod is sane | |
run: go mod tidy && git diff --no-patch --exit-code | |
- name: Run code lint | |
uses: golangci/golangci-lint-action@v3.7.0 | |
with: | |
args: --timeout=3m | |
- name: Install dependencies | |
run: go mod download | |
- name: Verify build | |
run: make dev |