Skip to content

Update scala-library, scala-reflect to 2.12.19 (#179) #307

Update scala-library, scala-reflect to 2.12.19 (#179)

Update scala-library, scala-reflect to 2.12.19 (#179) #307

Workflow file for this run

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.11
- zulu@1.8
os:
- ubuntu-latest
- macOS-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
- name: Test with coverage
if: ${{ matrix.os == 'ubuntu-latest' && matrix.java == 'zulu@1.8' }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: "sbt -batch coverage test coverageAggregate coveralls"
shell: bash