Skip to content

fix(deps): update all dependencies j:cdx-227 (major) #908

fix(deps): update all dependencies j:cdx-227 (major)

fix(deps): update all dependencies j:cdx-227 (major) #908

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: Build
on:
push:
branches: [ main ]
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up JDK 11
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
java-version: '11'
distribution: 'adopt'
- name: Validate code format
run: mvn spotless:check
- name: Build with Maven
run: mvn -B package --file pom.xml