forked from querqy/querqy
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 834 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build Querqy
# Build every push and every pull request
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
jdk: [ 1.8, 9, 10, 11, 12, 13 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache maven deps
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-${{ matrix.jdk }}-${{ hashFiles('**/pom.xml') }}
- name: Select JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
# Run all the way to the install goal to have artifacts
# in the local maven repo. we need them for later dependency
# analysis
- name: Build
run: mvn install --file pom.xml
- name: Dependecy Analysis
run: mvn dependency:tree --file pom.xml -Dverbose