Skip to content

chore: bump the production-minor-patch group across 1 directory with 5 updates #534

chore: bump the production-minor-patch group across 1 directory with 5 updates

chore: bump the production-minor-patch group across 1 directory with 5 updates #534

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
# keep the below two variables in sync with the ones in .github/workflows/update-vulnerability-database.yaml
CVE_CACHE_KEY: cve-db
CVE_CACHE_DIR: ~/.m2/repository/org/owasp/dependency-check-data
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17 ]
name: Build with Java ${{ matrix.java-version }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Restore CVE Database
uses: actions/cache/restore@v4
with:
path: ${{ env.CVE_CACHE_DIR }}
key: ${{ env.CVE_CACHE_KEY }}
fail-on-cache-miss: true
- name: Build with Maven
run: mvn clean install -Dgpg.skip --no-transfer-progress
- name: Check for source code changes
run: |
if [[ `git status --porcelain` ]]; then
echo -e "Following files need to be formatted: \n$(git diff --name-only)"
exit 1
fi