Skip to content

Bump actions/setup-java from 3 to 4 (#168) #66

Bump actions/setup-java from 3 to 4 (#168)

Bump actions/setup-java from 3 to 4 (#168) #66

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@v4
- name: Setup
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: ${{ matrix.java }}
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and test
run: sbt scalafmtSbtCheck scalafmtCheckAll +test
- run: rm -rf "$HOME/.ivy2/local" || true