-
-
Notifications
You must be signed in to change notification settings - Fork 11
44 lines (42 loc) · 1021 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
43
44
name: build
on:
push:
paths-ignore:
- '**.md'
branches-ignore:
- "gh-pages"
pull_request:
paths-ignore:
- '**.md'
branches-ignore:
- "gh-pages"
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
java:
- zulu@1.17
- graalvm-ce-java11@21
- zulu@1.8
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: 300
- name: Fetch tags
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
- uses: coursier/cache-action@v6.3
- uses: olafurpg/setup-scala@v13
with:
java-version: ${{matrix.java}}
- name: Compile, test and check binary compatibility
run: "sbt -batch clean +test +mimaReportBinaryIssues"
shell: bash