Skip to content

CI

CI #44

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
java: 8
- os: ubuntu-latest
java: 11
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java }}
- name: Coursier cache
uses: coursier/cache-action@v5
- name: Build and test
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck +test
- run: rm -rf "$HOME/.ivy2/local" || true