Skip to content

release notes script #272

release notes script

release notes script #272

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@v4
# 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@v4
with:
distribution: temurin # See 'Supported distributions' for available options
java-version: ${{ matrix.java }}
check-latest: true
cache: 'sbt'
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.10.5
- 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