Skip to content

Commit 28d8dd5

Browse files
Merge pull request #72 from yuzawa-san/gh-actions
Add Github Actions build job with CodeQL
2 parents eb6e8c7 + 8ef8fd0 commit 28d8dd5

File tree

2 files changed

+38
-3
lines changed

2 files changed

+38
-3
lines changed

.github/workflows/tests.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
test:
12+
name: Tests
13+
runs-on: ubuntu-latest
14+
permissions:
15+
actions: read
16+
contents: write
17+
security-events: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: '21'
24+
cache: 'maven'
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v3
27+
with:
28+
languages: java
29+
- name: Build with Maven
30+
timeout-minutes: 15
31+
run: mvn -B clean package --file pom.xml
32+
- name: Perform CodeQL Analysis
33+
uses: github/codeql-action/analyze@v3
34+
with:
35+
category: "/language:java"

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
</developers>
3030

3131
<scm>
32-
<connection>scm:git:git@github.com:IABTechLabs/iabgpp-java.git</connection>
33-
<developerConnection>scm:git:git@github.com:IABTechLabs/iabgpp-java.git</developerConnection>
34-
<url>https://github.com/IABTechLabs/iabgpp-java</url>
32+
<connection>scm:git:git@github.com:IABTechLab/iabgpp-java.git</connection>
33+
<developerConnection>scm:git:git@github.com:IABTechLab/iabgpp-java.git</developerConnection>
34+
<url>https://github.com/IABTechLab/iabgpp-java</url>
3535
</scm>
3636

3737
<distributionManagement>

0 commit comments

Comments
 (0)