Skip to content

Commit 1f4cea4

Browse files
committed
#337 action
1 parent ccae381 commit 1f4cea4

File tree

2 files changed

+33
-51
lines changed

2 files changed

+33
-51
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/mvn.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: mvn
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
jobs:
11+
test:
12+
name: test
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
java: [11, 17]
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-java@v1
21+
with:
22+
java-version: ${{ matrix.java }}
23+
- uses: actions/cache@v1
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
29+
- uses: actions/setup-ruby@v1
30+
with:
31+
ruby-version: 2.7
32+
- run: gem install xcop
33+
- run: mvn clean install -Pqulice --errors --batch-mode

0 commit comments

Comments
 (0)