fix(deps): update kubernetes packages to v0.28.1 #171
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 | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
id: go | |
- name: Get dependencies | |
run: make get-dependencies | |
- name: Ensure that all files are properly formatted | |
run: | | |
FILES=$(gofmt -s -l .) | |
if [ -n "${FILES}" ]; then | |
printf "Following files are not formatted: \n%s" "$FILES" | |
exit 1 | |
fi | |
- name: GO vet | |
run: make vet | |
- name: Test | |
run: make unit-test | |
- name: Test building | |
run: make build |