Skip to content

Commit accc693

Browse files
committed
chore(ci): add GitHub Actions
1 parent 020ca9d commit accc693

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: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
java: [11]
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Cache
14+
uses: actions/cache@v2
15+
env:
16+
cache-name: cache-sbt-libs
17+
with:
18+
path: |
19+
~/.ivy2/cache
20+
~/.sbt
21+
~/.cache/coursier/v1
22+
key: build-${{ env.cache-name }}-${{ hashFiles('build.sbt') }}
23+
- name: Set up JDK
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: ${{ matrix.java }}
27+
- name: Build executable
28+
run: sbt package

0 commit comments

Comments
 (0)