fix(deps): update kubernetes packages to v0.31.0 #328
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 & Test | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
test: | |
name: Build and Test Operator | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.17' ] | |
steps: | |
# Setup | |
- uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
# Cleanup & Install dependencies | |
- run: make clean | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/go/pkg/mod | |
key: ${{ runner.os }}-code-dependencies-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-code-dependencies | |
# Build | |
- run: make manifests | |
- run: make build | |
# Test | |
- run: make lint | |
- run: make test | |
- run: make check-git |