chore(deps): bump org.junit.platform:junit-platform-launcher from 6.0.1 to 6.0.3 #36
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: [ master, main ] | |
| pull_request: | |
| branches: [ master, main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build and Test (Java ${{ matrix.java }}) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| checks: write | |
| strategy: | |
| matrix: | |
| java: [ '21', '22', '23' ] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build --no-daemon --stacktrace | |
| - name: Run tests | |
| run: ./gradlew test --no-daemon --stacktrace | |
| - name: Generate code coverage report | |
| if: matrix.java == '21' | |
| run: ./gradlew jacocoTestReport --no-daemon | |
| - name: Upload coverage to Codecov | |
| if: matrix.java == '21' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: ./build/reports/jacoco/test/jacocoTestReport.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| fail_ci_if_error: false | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Archive test results | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: test-results-java-${{ matrix.java }} | |
| path: | | |
| **/build/reports/tests/ | |
| **/build/test-results/ | |
| retention-days: 7 | |
| - name: Archive code coverage results | |
| if: matrix.java == '21' | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: code-coverage-report | |
| path: build/reports/jacoco/ | |
| retention-days: 7 | |
| # Job for dependency vulnerability scanning | |
| dependency-check: | |
| name: Dependency Security Check | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run dependency check | |
| run: ./gradlew dependencies --no-daemon |