nosqlbench/.github/workflows/build.yml

32 lines
616 B
YAML
Raw Normal View History

2020-03-13 02:50:44 -05:00
name: build
2020-03-13 01:11:51 -05:00
2021-07-06 11:49:42 -05:00
on:
push:
pull_request:
2020-03-13 01:11:51 -05:00
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
name: checkout nosqlbench
- uses: actions/setup-java@v1
name: setup java
with:
2021-12-21 17:00:55 -06:00
java-version: '17'
2020-03-13 01:11:51 -05:00
java-package: jdk
architecture: x64
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
2020-03-17 05:40:38 -05:00
- name: mvn package
2020-03-13 01:11:51 -05:00
run: mvn package
2020-03-17 05:40:38 -05:00
- name: mvn verify
run: mvn verify