Skip to content

Commit 409a216

Browse files
splusbhypery2k
authored andcommitted
Add GitHub Actions CI workflow for develop branch
1 parent 9db2306 commit 409a216

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "develop" ]
6+
pull_request:
7+
branches: [ "develop" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Java
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '11'
22+
23+
- name: Build with Maven
24+
run: mvn clean install --no-transfer-progress
25+
26+
- name: Run PMD checks
27+
run: mvn pmd:check

0 commit comments

Comments
 (0)