Skip to content

chore(deps): bump the all-github-actions group with 2 updates #197

chore(deps): bump the all-github-actions group with 2 updates

chore(deps): bump the all-github-actions group with 2 updates #197

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: '21'
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: ./mvnw -B verify -P checks,run-its
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write #required for POST snapshot API https://docs.github.com/en/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@b275d12641ac2d2108b2cbb7598b154ad2f2cee8