Skip to content

Add nilaway linter. #472

Add nilaway linter.

Add nilaway linter. #472

Workflow file for this run

name: Make run tests
on:
pull_request:
types:
- opened
- labeled
- synchronize
jobs:
test:
name: test on k8s ${{ matrix.k8s.attribute }} version
# Pull request has label 'ok-to-test' or the author is a member of the organization
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(fromJSON('["COLLABORATOR", "MEMBER", "OWNER"]'), github.event.pull_request.author_association)
strategy:
matrix:
k8s:
- version: 1.28.3
attribute: penultimate
- version: 1.29.3
attribute: previous
- version: 1.30.0
attribute: latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.2
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s.version }} make test