Skip to content

ensure sorted config #41

ensure sorted config

ensure sorted config #41

Workflow file for this run

# .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