Skip to content

Merge branch 'locatelli-main' #20

Merge branch 'locatelli-main'

Merge branch 'locatelli-main' #20

Workflow file for this run

name: license-check
on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
tags:
- '**'
pull_request:
permissions: # added using https://github.com/step-security/secure-repo
contents: read
env:
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false --batch-mode
MAVEN_TEST_OPTS: -Dtest.fork.count=1
jobs:
check-headers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
key: ${{ hashFiles('**/pom.xml') }}-license-header-check
path: ~/.m2/repository/
- name: Run license check
run: mvn license:check $MAVEN_CLI_OPTS