Skip to content

Commit f4d0e94

Browse files
authored
Merge pull request #2 from andreaTP/ci
minimal CI
2 parents 97e2fc0 + 47c7181 commit f4d0e94

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
ci:
10+
name: CI
11+
runs-on: ${{ matrix.os }}
12+
continue-on-error: true
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ubuntu-latest, macos-latest, windows-latest]
17+
version: [11, 17, 21]
18+
steps:
19+
- name: Checkout sources
20+
uses: actions/checkout@v4
21+
- name: Set up Java
22+
uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: '${{ matrix.version }}'
26+
cache: maven
27+
- name: Test Java
28+
run: mvn -B spotless:check clean install

0 commit comments

Comments
 (0)