Skip to content

Compiler warnings

Compiler warnings #513

Workflow file for this run

name: HMDA PR CVE Scan
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
pull-requests: write
jobs:
hmda-platform-cve-scan:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup sbt launcher
uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1
- name: Build Docker image of HMDA platform
run: |
env JAVA_OPTS="-Xss256m -Xmx4096m" sbt "project hmda-platform" dockerPublishLocalSkipTests
env:
AKKA_RESOLVER: ${{ secrets.AKKA_RESOLVER }}
- name: Tag and name Docker image
run: docker tag hmda/hmda-platform:latest pr-cve-scan:latest
- name: Scan image
uses: anchore/scan-action@1638637db639e0ade3258b51db49a9a137574c3e # v6
with:
image: pr-cve-scan:latest
output-file: grype-report.txt
fail-build: false
severity-cutoff: high
output-format: table
- name: Upload Grype report to artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: cve-report
path: |
grype-report.txt