forked from IABTechLab/iabgpp-java
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 751 Bytes
/
tests.yml
File metadata and controls
35 lines (33 loc) · 751 Bytes
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
33
34
35
name: Build
on:
merge_group:
pull_request:
push:
branches:
- master
jobs:
test:
name: Tests
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
- name: Build with Maven
timeout-minutes: 15
run: mvn -B clean javadoc:javadoc package --file pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:java"