Bump k8s.io/client-go from 0.19.3 to 0.20.0 #1
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: tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- mainnet/main | |
env: | |
MAINNET: ${{ github.ref == 'refs/heads/mainnet/main' || github.base_ref == 'refs/heads/mainnet/main' }} | |
jobs: | |
build-bins: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: c-py/action-dotenv-to-setenv@v3 | |
with: | |
env-file: .makerc | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "${{ env.GOLANG_VERSION }}" | |
- run: make bins | |
- run: make docker-image | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: c-py/action-dotenv-to-setenv@v3 | |
with: | |
env-file: .makerc | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "${{ env.GOLANG_VERSION }}" | |
- run: make test-full | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: c-py/action-dotenv-to-setenv@v3 | |
with: | |
env-file: .makerc | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "${{ env.GOLANG_VERSION }}" | |
- run: make test-coverage | |
- uses: codecov/codecov-action@v1 | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: c-py/action-dotenv-to-setenv@v3 | |
with: | |
env-file: .makerc | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "${{ env.GOLANG_VERSION }}" | |
- run: make deps-tidy | |
- run: make deps-vendor | |
- run: make build | |
- run: make test-vet | |
- name: lint all | |
run: make test-lint-all | |
- name: lint make-sublinters | |
run: make test-sublinters |