Skip to content

Commit 6cd8952

Browse files
committed
change cache to v4
add setup sbt
1 parent ba905f4 commit 6cd8952

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Cache Z3
1717
id: cache-z3
18-
uses: actions/cache@v1
18+
uses: actions/cache@v4
1919
with:
2020
path: z3/
2121
key: ${{ runner.os }}-z3-${{ hashFiles('get-z3-linux.sh') }}-1
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Cache CVC5
3737
id: cache-cvc5
38-
uses: actions/cache@v1
38+
uses: actions/cache@v4
3939
with:
4040
path: cvc5/
4141
key: ${{ runner.os }}-cvc5-${{ hashFiles('get-cvc5-linux.sh') }}-1
@@ -54,7 +54,7 @@ jobs:
5454

5555
# - name: Cache Delphi
5656
# id: cache-delphi
57-
# uses: actions/cache@v1
57+
# uses: actions/cache@v4
5858
# with:
5959
# path: delphi/
6060
# key: ${{ runner.os }}-delphi-${{ hashFiles('get-delphi-linux.sh') }}-1
@@ -79,16 +79,21 @@ jobs:
7979
java-version: 11
8080

8181
- name: Cache SBT ivy cache
82-
uses: actions/cache@v1
82+
uses: actions/cache@v4
8383
with:
8484
path: ~/.ivy2/cache
8585
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}
8686

8787
- name: Cache SBT
88-
uses: actions/cache@v1
88+
uses: actions/cache@v4
8989
with:
9090
path: ~/.sbt
9191
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
92+
93+
- name: Set up SBT
94+
uses: coursier/setup-action@v1
95+
with:
96+
apps: sbt
9297

9398
- name: Compile
9499
run: sbt compile
@@ -110,7 +115,7 @@ jobs:
110115

111116
- name: Cache Z3
112117
id: cache-z3
113-
uses: actions/cache@v1
118+
uses: actions/cache@v4
114119
with:
115120
path: z3/
116121
key: ${{ runner.os }}-z3-${{ hashFiles('get-z3-macos.sh') }}-1
@@ -133,7 +138,7 @@ jobs:
133138

134139
- name: Cache CVC5
135140
id: cache-cvc5
136-
uses: actions/cache@v1
141+
uses: actions/cache@v4
137142
with:
138143
path: cvc5/
139144
key: ${{ runner.os }}-cvc5-${{ hashFiles('get-cvc5-macos.sh') }}-1
@@ -152,7 +157,7 @@ jobs:
152157

153158
# - name: Cache delphi
154159
# id: cache-delphi
155-
# uses: actions/cache@v1
160+
# uses: actions/cache@v4
156161
# with:
157162
# path: delphi/
158163
# key: ${{ runner.os }}-delphi-${{ hashFiles('get-delphi-macos.sh') }}-1

0 commit comments

Comments
 (0)