Skip to content

Commit 163e311

Browse files
committed
fix: Adds restore keys to fallback
1 parent 17cbc85 commit 163e311

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ runs:
6060
with:
6161
path: ${{ steps.cache-paths.outputs.sbt_diskcache }}
6262
key: ${{ steps.cache-paths.outputs.sbt_diskcachekey }}-${{ hashFiles('**/*.scala', '**/*.sbt', '**/*.properties') }}
63+
restore-keys: ${{ steps.cache-paths.outputs.sbt_diskcachekey }}
6364
- name: "Download and Install sbt"
6465
shell: bash
6566
env:

example/src/test/scala/example/ATest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package example
22

33
import munit.*
44

5+
//
56
class ATest extends FunSuite:
67
test("sum"):
78
assert(1 + 1 == 2)

0 commit comments

Comments
 (0)