chore(deps): bump DavidAnson/markdownlint-cli2-action from 23 to 24 #110
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 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - 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 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Build with coverage | |
| run: mvn --batch-mode clean verify | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: target/site/jacoco/jacoco.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} |