Skip to content

Commit

Permalink
cache sbt deps in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeamer committed Mar 18, 2021
1 parent f770c14 commit 7ba7a19
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/scala-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ jobs:
runs-on: ubuntu-latest

steps:
# https://github.com/actions/checkout/issues/116#issuecomment-644419389
- name: checkout essent & firrtl-sig
uses: actions/checkout@v2
with:
submodules: true

- name: cache SBT deps
uses: actions/cache@v2
with:
path: |
~/.cache/coursier
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}

- name: build stuff
run: sbt compile

Expand Down

0 comments on commit 7ba7a19

Please sign in to comment.