-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 870 Bytes
/
build.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
36
37
38
39
40
41
42
name: Build
on:
pull_request:
branches: [ '**' ]
push:
branches: [ '**' ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
scala: [ 2.12, 2.13 ]
java:
- adopt@1.8
platform: [ jvm ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v12
with:
java-version: ${{ matrix.java }}
- name: Set up Aerospike Database
uses: reugn/github-action-aerospike@v1
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Build and test
run: sbt ++${{ matrix.scala }} test