-
-
Notifications
You must be signed in to change notification settings - Fork 7
47 lines (44 loc) · 1.02 KB
/
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
43
44
45
46
name: build
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
branches-ignore:
- "gh-pages"
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
branches-ignore:
- "gh-pages"
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
java:
- graalvm@
os:
- ubuntu-latest
- macOS-latest
- windows-latest
fail-fast: false
steps:
- name: Configure git
run: "git config --global core.autocrlf false"
shell: bash
- uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: coursier/cache-action@v5
- uses: olafurpg/setup-scala@v12
with:
java-version: ${{matrix.java}}
- name: Compile, test and check binary compatibility
run: "sbt -batch clean +test +mimaReportBinaryIssues"
shell: bash