18
18
RUSTC_WRAPPER : " sccache"
19
19
20
20
jobs :
21
- default_build :
22
- runs-on : ubuntu-latest
23
- steps :
24
- - uses : actions/checkout@v3
25
- - name : Run sccache-cache
26
- uses :
mozilla-actions/[email protected]
27
-
28
- - name : Install minimal stable with clippy and rustfmt
29
- uses : actions-rs/toolchain@v1
30
- with :
31
- profile : default
32
- toolchain : ' 1.82'
33
- override : true
34
- - name : Format
35
- run : cargo fmt -- --check
36
- - name : Build
37
- run : (cd crates/deltalake && cargo build)
38
-
39
21
build :
40
22
strategy :
41
- fail-fast : false
23
+ fail-fast : true
42
24
matrix :
43
25
os :
44
26
- ubuntu-latest
@@ -56,37 +38,23 @@ jobs:
56
38
toolchain : ' 1.82'
57
39
override : true
58
40
41
+ - name : Format
42
+ run : cargo fmt -- --check
43
+
44
+ - name : Default build
45
+ run : (cd crates/deltalake && cargo build)
46
+
59
47
- name : build and lint with clippy
60
48
run : cargo clippy --features ${{ env.DEFAULT_FEATURES }} --tests
61
49
62
50
- name : Spot-check build for native-tls features
63
51
run : cargo clippy --no-default-features --features azure,datafusion,s3-native-tls,gcs,glue --tests
64
52
65
- - name : Check docs
66
- run : cargo doc --no-deps --features ${{ env.DEFAULT_FEATURES }}
67
-
68
53
- name : Check no default features (except rustls)
69
54
run : cargo check --no-default-features --features rustls
70
55
71
- test :
72
- strategy :
73
- fail-fast : false
74
- matrix :
75
- os :
76
- # The coverage action actually is running the Linux-based test.
77
- - windows-latest
78
- runs-on : ${{ matrix.os }}
79
- steps :
80
- - uses : actions/checkout@v3
81
- - name : Run sccache-cache
82
- uses :
mozilla-actions/[email protected]
83
-
84
- - name : Install minimal stable with clippy and rustfmt
85
- uses : actions-rs/toolchain@v1
86
- with :
87
- profile : default
88
- toolchain : ' 1.82'
89
- override : true
56
+ - name : Check docs
57
+ run : cargo doc --no-deps --features ${{ env.DEFAULT_FEATURES }}
90
58
91
59
- name : Run tests
92
60
run : |
0 commit comments