Bump mockito.version from 5.12.0 to 5.13.0 #227
Workflow file for this run
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: "Codacy" | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "**" ] | |
permissions: read-all | |
jobs: | |
build: | |
name: Maven build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 11 | |
- name: Build with Maven | |
run: ./mvnw --batch-mode | |
- name: Temporarily save target and test requests | |
uses: actions/upload-artifact@master | |
with: | |
name: tests-and-target | |
path: | | |
core/target | |
logger/target | |
json-logger/target | |
retention-days: 1 | |
codacy-security-scan: | |
name: Codacy Security Scan | |
needs: build | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run Codacy Analysis CLI | |
uses: codacy/codacy-analysis-cli-action@09916000460adeeedc96b9704f86deba53e2ad5d | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
verbose: true | |
output: results.sarif | |
format: sarif | |
gh-code-scanning-compat: true | |
- name: Upload SARIF results file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif | |
codacy-coverage-reporter: | |
name: Codacy Coverage Reporter | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Retrieve saved test requests and target | |
uses: actions/download-artifact@master | |
with: | |
name: tests-and-target | |
path: . | |
- name: Run codacy-coverage-reporter | |
uses: codacy/codacy-coverage-reporter-action@a38818475bb21847788496e9f0fddaa4e84955ba | |
with: | |
coverage-reports: core/target/site/jacoco/jacoco.xml,logger/target/site/jacoco/jacoco.xml,json-logger/target/site/jacoco/jacoco.xml | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} |