@@ -20,16 +20,13 @@ jobs:
20
20
with :
21
21
java-version : " 8"
22
22
distribution : ' temurin'
23
+ cache : ' sbt'
23
24
24
25
- name : Install rust toolchain
25
26
uses : dtolnay/rust-toolchain@nightly
26
27
with :
27
28
components : " clippy, rustfmt"
28
29
29
- - uses : coursier/cache-action@v6
30
- with :
31
- extraKey : lint
32
-
33
30
- uses : Swatinem/rust-cache@v2
34
31
with :
35
32
workspaces : native
40
37
cargo install cargo-sort
41
38
sbt fmtCheckAll
42
39
40
+ - name : Check doc issues
41
+ run : sbt makeSite
42
+
43
43
build-natives :
44
44
name : ${{ matrix.arch }} build
45
45
runs-on : ${{ matrix.os }}
@@ -87,14 +87,11 @@ jobs:
87
87
with :
88
88
java-version : " 8"
89
89
distribution : ' temurin'
90
+ cache : ' sbt'
90
91
91
92
- name : Install rust toolchain
92
93
uses : dtolnay/rust-toolchain@nightly
93
94
94
- - uses : coursier/cache-action@v6
95
- with :
96
- extraKey : ${{ matrix.arch }}
97
-
98
95
- uses : Swatinem/rust-cache@v2
99
96
with :
100
97
workspaces : native
@@ -114,7 +111,7 @@ jobs:
114
111
if-no-files-found : error
115
112
116
113
test-build :
117
- name : ${{ matrix.os }} test
114
+ name : ${{ matrix.os }} ${{ matrix.java }} test
118
115
runs-on : ${{ matrix.os }}
119
116
needs : [ build-natives ]
120
117
env :
@@ -126,6 +123,7 @@ jobs:
126
123
fail-fast : false
127
124
matrix :
128
125
include :
126
+ - java : [ '8', '11', '17', '21' ]
129
127
- os : ubuntu-latest
130
128
131
129
- os : windows-latest
@@ -138,12 +136,9 @@ jobs:
138
136
- name : Set up JDK
139
137
uses : actions/setup-java@v4
140
138
with :
141
- java-version : " 8 "
139
+ java-version : ${{ matrix.java }}
142
140
distribution : ' temurin'
143
-
144
- - uses : coursier/cache-action@v6
145
- with :
146
- extraKey : ${{ matrix.arch }}
141
+ cache : ' sbt'
147
142
148
143
- name : Download artifacts
149
144
uses : actions/download-artifact@v4
@@ -152,7 +147,7 @@ jobs:
152
147
path : /tmp/native-libs/
153
148
merge-multiple : true
154
149
155
- - name : Test for ${{ matrix.os }}
150
+ - name : Test for ${{ matrix.os }} ${{ matrix.java }}
156
151
run : |
157
152
sbt +assembly
158
153
java -cp ./examples/target/scala-2.12/scala-polars-examples-assembly-0.1.0-SNAPSHOT.jar examples.scala.io.LazyAndEagerAPI
@@ -180,10 +175,7 @@ jobs:
180
175
with :
181
176
java-version : " 8"
182
177
distribution : ' temurin'
183
-
184
- - uses : coursier/cache-action@v6
185
- with :
186
- extraKey : ${{ matrix.arch }}
178
+ cache : ' sbt'
187
179
188
180
- name : Download artifacts
189
181
uses : actions/download-artifact@v4
0 commit comments