-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (27 loc) · 800 Bytes
/
analyze.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Analyze
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
analyze:
strategy:
matrix:
profile: ['checkerframework', 'errorprone']
runs-on: ubuntu-latest
env:
BUILD_NUMBER: "${{github.run_number}}"
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode --no-transfer-progress"
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Install maven modules
run: ./mvnw $MAVEN_CLI_OPTS install -Dmaven.javadoc.skip -DskipTests -Dmaven.source.skip=true
- name: Analyze with ${{ matrix.profile }}
run: bin/analyze.sh ${{ matrix.profile }}