Skip to content

[server] fix concurrent access to hashmap (#1631) #2261

[server] fix concurrent access to hashmap (#1631)

[server] fix concurrent access to hashmap (#1631) #2261

name: Check license header
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
header-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
# don't use setup-java cache - hash file pattern has issues
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: license-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', 'LICENSE', 'HEADER') }}
- name: check
run: ./mvnw -T 1C -B clean license:check