deps: bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.15.0 #10
Workflow file for this run
This file contains hidden or 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] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - run: mvn --batch-mode verify -Dmaven.test.failure.ignore=false | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| fail_ci_if_error: false | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| security-audit: | |
| name: Security Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - run: mvn --batch-mode dependency:tree | |
| - run: mvn --batch-mode org.owasp:dependency-check-maven:check || echo "Dependency check completed with findings" | |
| integration-test: | |
| name: Integration Tests | |
| runs-on: ubuntu-latest | |
| needs: [build] | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Start Streamline server | |
| run: docker compose -f docker-compose.test.yml up -d | |
| - name: Wait for Streamline to be healthy | |
| run: | | |
| for i in $(seq 1 30); do | |
| if curl -sf http://localhost:9094/health; then | |
| echo " Streamline is healthy" | |
| exit 0 | |
| fi | |
| echo "Waiting for Streamline... ($i/30)" | |
| sleep 2 | |
| done | |
| echo "Streamline failed to start" | |
| docker compose -f docker-compose.test.yml logs | |
| exit 1 | |
| - name: Run integration tests | |
| run: mvn --batch-mode verify -Pintegration | |
| env: | |
| STREAMLINE_BOOTSTRAP_SERVERS: localhost:9092 | |
| - name: Tear down Streamline | |
| if: always() | |
| run: docker compose -f docker-compose.test.yml down | |
| docs: | |
| name: Generate Javadoc | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Generate Javadoc | |
| run: mvn javadoc:aggregate -q |