Skip to content

Commit 4121964

Browse files
authored
Merge pull request #6 from aochoae/chore/actions
Adds GitHub Action
2 parents cb64af1 + 6166f8c commit 4121964

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build & Test (8 & 21)
2+
3+
on:
4+
push:
5+
branches:
6+
- "develop"
7+
- "feature/*"
8+
pull_request:
9+
branches:
10+
- "develop"
11+
- "feature/*"
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
java: [8, 21]
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Set up JDK ${{ matrix.java }}
23+
uses: actions/setup-java@v4
24+
with:
25+
distribution: temurin
26+
java-version: ${{ matrix.java }}
27+
cache: maven
28+
- name: Build with Maven
29+
run: mvn -B clean verify

0 commit comments

Comments
 (0)