Skip to content

Added dependency caching for Scala CI #69

Added dependency caching for Scala CI

Added dependency caching for Scala CI #69

Workflow file for this run

name: Scala CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache sbt dependencies
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
~/.coursier
key: sbt-${{ runner.os }}-${{ hashFiles('**/*.sbt') }}
restore-keys: |
sbt-${{ runner.os }}-
- name: Run tests
run: sbt clean compile test