chore(deps): update grouped non-major updates #902
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: 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: v1.28.0 | |
attribute: penultimate | |
- version: v1.29.0 | |
attribute: previous | |
- version: default | |
attribute: latest | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version: 1.22.4 | |
- run: | | |
if [ "${{ matrix.k8s.version }}" = "default" ]; then | |
# For latest version use default from Makefile | |
make test | |
else | |
K8S_VERSION=${{ matrix.k8s.version }} make test | |
fi |