Skip to content

Bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#149) #214

Bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#149)

Bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#149) #214

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: zulu
java-version: 17
- name: Install dependencies
run: mvn install -DskipTests=true -B -V
- name: Run tests and collect coverage
run: mvn -B test