Skip to content

Update sbt-sonatype to 3.12.2 #232

Update sbt-sonatype to 3.12.2

Update sbt-sonatype to 3.12.2 #232

Workflow file for this run

name: CI
on:
pull_request:
branches: ['*']
jobs:
build:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
java:
- 8
- 11
- 17
# - [email protected]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
# Container modules occupy too much disk space. The GitHub-hosted runners ran into the
# error: "no space left on device."
# This action will free up disk space by removing unnecessary files.
- name: Free Disk Space
uses: jlumbroso/[email protected]
if: runner.os == 'Linux'
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: false
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: temurin # See 'Supported distributions' for available options
java-version: ${{ matrix.java }}
check-latest: true
- name: Restore cache
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.cache/coursier
key: cache-v1-${{ hashFiles('build.sbt') }}
restore-keys: |
cache-v1-
- name: Compile and Test
run: sbt +test