Skip to content

Update scala-library to 2.13.12 #121

Update scala-library to 2.13.12

Update scala-library to 2.13.12 #121

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
on: [push, pull_request]
env:
CI: true
SCALA_VERSION: 2.13.2
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: Scala ${{ matrix.scala }}, Java ${{ matrix.java }}
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [[email protected], [email protected], [email protected]]
scala: [2.13.2]
env:
SCALA_VERSION: ${{ matrix.scala }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v7
with:
java-version: ${{ matrix.java }}
- name: Cache Coursier
uses: actions/cache@v1
with:
path: ~/.cache/coursier
key: sbt-coursier-cache
- name: Cache SBT
uses: actions/cache@v1
with:
path: ~/.sbt
key: sbt-${{ hashFiles('**/build.sbt') }}
- name: Build the docker-compose stack
run: docker-compose up -d
- name: Check formatting
if: startsWith(matrix.scala, '2.13.2') && (matrix.java == '[email protected]')
run: sbt ++$SCALA_VERSION scalafmtCheckAll
- name: Compile
run: sbt ++$SCALA_VERSION test:compile
- name: Check compatibility
run: sbt ++$SCALA_VERSION mimaReportBinaryIssues
- name: Check unused dependencies
run: sbt ++$SCALA_VERSION unusedCompileDependenciesTest
- name: Test
run: sbt ++$SCALA_VERSION test