Last active
April 5, 2020 01:18
-
-
Save davegurnell/4a5fcca48e08e080ac613480947830f0 to your computer and use it in GitHub Desktop.
Minimal CircleCI 2.0 Scala build configuration with caching of Ivy/Maven dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/openjdk:8-jdk | |
steps: | |
- checkout | |
- restore_cache: | |
key: scala-library-dependencies-{{ checksum "build.sbt" }} | |
- run: sbt test:compile | |
- save_cache: | |
paths: [ "~/.m2", "~/.ivy2", "~/.cache/coursier" ] | |
key: scala-library-dependencies-{{ checksum "build.sbt" }} | |
- run: sbt test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~/.cache/coursier
->~/.coursier/cache
?