Change container images and fix ci workflow #3
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- "release-*" | |
pull_request: | |
branches: | |
- main | |
- "release-*" | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
kubernetes_version: [ v1.25.3, v1.26.3, v1.27.5, v1.28.1 ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Setup Minikube-Kubernetes | |
# check version in https://github.com/manusa/actions-setup-minikube/releases | |
uses: manusa/[email protected] | |
with: | |
# check version in https://github.com/kubernetes/minikube/releases | |
minikube version: 'v1.32.0' | |
start args: '--addons=ingress' | |
kubernetes version: ${{ matrix.kubernetes_version }} | |
github token: ${{ secrets.GITHUB_TOKEN }} | |
driver: 'docker' | |
- name: Test | |
run: | | |
mvn verify |