Bump io.javaoperatorsdk:operator-framework-bom from 4.4.1 to 4.7.1 #59
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
# .github/workflows/build-test.yml | |
name: Build and Test Java 17 with Maven | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Create Kind Cluster | |
uses: helm/[email protected] | |
- name: Test with Maven | |
run: | | |
kubectl cluster-info --context kind-chart-testing | |
mvn -B compile --file pom.xml | |
find ./target/classes/META-INF/fabric8 -type f -name "*-v1.yml" | xargs -I {} kubectl apply -f {} | |
kubectl get crd | |
mvn -B test --file pom.xml |