@@ -28,34 +28,34 @@ jobs:
28
28
strategy :
29
29
matrix :
30
30
os : [ubuntu-latest]
31
- scala : [2.12.17, 2.13.9 , 3.2.2]
31
+ scala : [2.12.17, 2.13.10 , 3.2.2]
32
32
java : [temurin@8]
33
33
project : [rootJS, rootJVM, rootNative]
34
34
runs-on : ${{ matrix.os }}
35
35
steps :
36
36
- name : Checkout current branch (full)
37
- uses : actions/checkout@v2
37
+ uses : actions/checkout@v3
38
38
with :
39
39
fetch-depth : 0
40
40
41
41
- name : Download Java (temurin@8)
42
42
id : download-java-temurin-8
43
43
if : matrix.java == 'temurin@8'
44
- uses : typelevel/download-java@v1
44
+ uses : typelevel/download-java@v2
45
45
with :
46
46
distribution : temurin
47
47
java-version : 8
48
48
49
49
- name : Setup Java (temurin@8)
50
50
if : matrix.java == 'temurin@8'
51
- uses : actions/setup-java@v2
51
+ uses : actions/setup-java@v3
52
52
with :
53
53
distribution : jdkfile
54
54
java-version : 8
55
55
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
56
56
57
57
- name : Cache sbt
58
- uses : actions/cache@v2
58
+ uses : actions/cache@v3
59
59
with :
60
60
path : |
61
61
~/.sbt
@@ -70,27 +70,27 @@ jobs:
70
70
run : sbt githubWorkflowCheck
71
71
72
72
- name : Check headers and formatting
73
- if : matrix.java == 'temurin@8'
74
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
73
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest'
74
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
75
75
76
76
- name : scalaJSLink
77
77
if : matrix.project == 'rootJS'
78
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' Test/scalaJSLinkerResult
78
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult
79
79
80
80
- name : nativeLink
81
81
if : matrix.project == 'rootNative'
82
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' Test/nativeLink
82
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/nativeLink
83
83
84
84
- name : Test
85
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' test
85
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
86
86
87
87
- name : Check binary compatibility
88
- if : matrix.java == 'temurin@8'
89
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' mimaReportBinaryIssues
88
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest'
89
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
90
90
91
91
- name : Generate API documentation
92
- if : matrix.java == 'temurin@8'
93
- run : sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' doc
92
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest'
93
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
94
94
95
95
- name : Make target directories
96
96
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
@@ -102,7 +102,7 @@ jobs:
102
102
103
103
- name : Upload target directories
104
104
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
105
- uses : actions/upload-artifact@v2
105
+ uses : actions/upload-artifact@v3
106
106
with :
107
107
name : target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
108
108
path : targets.tar
@@ -114,33 +114,33 @@ jobs:
114
114
strategy :
115
115
matrix :
116
116
os : [ubuntu-latest]
117
- scala : [2.13.9 ]
117
+ scala : [2.13.10 ]
118
118
java : [temurin@8]
119
119
runs-on : ${{ matrix.os }}
120
120
steps :
121
121
- name : Checkout current branch (full)
122
- uses : actions/checkout@v2
122
+ uses : actions/checkout@v3
123
123
with :
124
124
fetch-depth : 0
125
125
126
126
- name : Download Java (temurin@8)
127
127
id : download-java-temurin-8
128
128
if : matrix.java == 'temurin@8'
129
- uses : typelevel/download-java@v1
129
+ uses : typelevel/download-java@v2
130
130
with :
131
131
distribution : temurin
132
132
java-version : 8
133
133
134
134
- name : Setup Java (temurin@8)
135
135
if : matrix.java == 'temurin@8'
136
- uses : actions/setup-java@v2
136
+ uses : actions/setup-java@v3
137
137
with :
138
138
distribution : jdkfile
139
139
java-version : 8
140
140
jdkFile : ${{ steps.download-java-temurin-8.outputs.jdkFile }}
141
141
142
142
- name : Cache sbt
143
- uses : actions/cache@v2
143
+ uses : actions/cache@v3
144
144
with :
145
145
path : |
146
146
~/.sbt
@@ -152,7 +152,7 @@ jobs:
152
152
key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
153
153
154
154
- name : Download target directories (2.12.17, rootJS)
155
- uses : actions/download-artifact@v2
155
+ uses : actions/download-artifact@v3
156
156
with :
157
157
name : target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootJS
158
158
@@ -162,7 +162,7 @@ jobs:
162
162
rm targets.tar
163
163
164
164
- name : Download target directories (2.12.17, rootJVM)
165
- uses : actions/download-artifact@v2
165
+ uses : actions/download-artifact@v3
166
166
with :
167
167
name : target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootJVM
168
168
@@ -172,7 +172,7 @@ jobs:
172
172
rm targets.tar
173
173
174
174
- name : Download target directories (2.12.17, rootNative)
175
- uses : actions/download-artifact@v2
175
+ uses : actions/download-artifact@v3
176
176
with :
177
177
name : target-${{ matrix.os }}-${{ matrix.java }}-2.12.17-rootNative
178
178
@@ -182,7 +182,7 @@ jobs:
182
182
rm targets.tar
183
183
184
184
- name : Download target directories (2.13.9, rootJS)
185
- uses : actions/download-artifact@v2
185
+ uses : actions/download-artifact@v3
186
186
with :
187
187
name : target-${{ matrix.os }}-${{ matrix.java }}-2.13.9-rootJS
188
188
@@ -192,7 +192,7 @@ jobs:
192
192
rm targets.tar
193
193
194
194
- name : Download target directories (2.13.9, rootJVM)
195
- uses : actions/download-artifact@v2
195
+ uses : actions/download-artifact@v3
196
196
with :
197
197
name : target-${{ matrix.os }}-${{ matrix.java }}-2.13.9-rootJVM
198
198
@@ -202,7 +202,7 @@ jobs:
202
202
rm targets.tar
203
203
204
204
- name : Download target directories (2.13.9, rootNative)
205
- uses : actions/download-artifact@v2
205
+ uses : actions/download-artifact@v3
206
206
with :
207
207
name : target-${{ matrix.os }}-${{ matrix.java }}-2.13.9-rootNative
208
208
@@ -212,7 +212,7 @@ jobs:
212
212
rm targets.tar
213
213
214
214
- name : Download target directories (3.2.2, rootJS)
215
- uses : actions/download-artifact@v2
215
+ uses : actions/download-artifact@v3
216
216
with :
217
217
name : target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJS
218
218
@@ -222,7 +222,7 @@ jobs:
222
222
rm targets.tar
223
223
224
224
- name : Download target directories (3.2.2, rootJVM)
225
- uses : actions/download-artifact@v2
225
+ uses : actions/download-artifact@v3
226
226
with :
227
227
name : target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJVM
228
228
@@ -232,7 +232,7 @@ jobs:
232
232
rm targets.tar
233
233
234
234
- name : Download target directories (3.2.2, rootNative)
235
- uses : actions/download-artifact@v2
235
+ uses : actions/download-artifact@v3
236
236
with :
237
237
name : target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootNative
238
238
@@ -253,4 +253,4 @@ jobs:
253
253
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)
254
254
255
255
- name : Publish
256
- run : sbt '++${{ matrix.scala }}' tlRelease
256
+ run : sbt '++ ${{ matrix.scala }}' tlRelease
0 commit comments