chore(deps): update dependency org.apache.maven.plugins:maven-source-… #511
This file contains 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: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java ${{matrix.java-version}} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{matrix.java-version}} | |
- name: Run tests | |
run: ./mvnw --batch-mode --no-transfer-progress -e test | |
coverage: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create code coverage report | |
run: ./mvnw --batch-mode --no-transfer-progress -e test jacoco:report | |
- name: Upload code coverage report | |
uses: codecov/codecov-action@v4 | |
with: | |
files: target/site/jacoco/jacoco.xml | |
name: codecov | |
dependency-check: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check dependencies | |
run: ./mvnw --batch-mode --no-transfer-progress -e dependency-check:check -DnvdApiKey='${{ secrets.NVD_API_KEY }}' |