Merge pull request #31 from EzFramework/docs/improved-colors #65
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: Code Quality | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "main", "master" ] | |
| pull_request: | |
| branches: [ "main", "master" ] | |
| jobs: | |
| checkstyle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: Run Checkstyle | |
| run: mvn --batch-mode checkstyle:check | |
| - name: Annotate Checkstyle results | |
| if: always() | |
| uses: jwgmeligmeyling/checkstyle-github-action@v1 | |
| with: | |
| path: target/checkstyle-result.xml | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: Build with coverage | |
| run: mvn --batch-mode clean verify | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: target/site/jacoco/jacoco.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} |