chore(deps): bump org.springdoc:springdoc-openapi-starter-webmvc-ui from 2.3.0 to 2.6.0 #27
Workflow file for this run
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: | |
pull_request: | |
permissions: | |
contents: read | |
actions: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 21 | |
check-latest: true | |
- run: ( ./gradlew clean build ) | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 21 | |
check-latest: true | |
name: "Executing unit tests and checking code coverage" | |
- run: ( ./gradlew pitest ) | |
name: "Executing mutation tests" | |
- run: ( ./gradlew dependencyCheckAnalyze -PUseNVDKey ) | |
name: "Executing dependency vulnerability checks" | |
trivy-static-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Trivy Static Security Analysis | |
run: | | |
echo "**********************************************************************************************" | |
echo "**********************************************************************************************" | |
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \ | |
-v $HOME/Library/Caches:/root/.cache/ \ | |
-v ./:/scan -w /scan aquasec/trivy:0.50.1 \ | |
config --severity "HIGH,CRITICAL" -f sarif -o results.sarif --exit-code 1 --misconfig-scanners=dockerfile /scan/Dockerfile | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
if: always() | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: results.sarif | |
# Optional category for the results | |
# Used to differentiate multiple results for one commit | |
category: trivy-analysis |