@@ -30,7 +30,7 @@ concurrency:
30
30
cancel-in-progress : true
31
31
32
32
env :
33
- rust_msrv : " 1.85.0 "
33
+ rust_msrv : " 1.87 "
34
34
35
35
jobs :
36
36
check :
@@ -41,21 +41,22 @@ jobs:
41
41
- ubuntu-latest
42
42
- macos-latest
43
43
steps :
44
- - uses : actions/checkout@v4
44
+ - uses : actions/checkout@v5
45
45
46
46
- name : Setup Rust toolchain
47
47
uses : ./.github/actions/setup-builder
48
48
49
49
- name : Check License Header
50
50
uses :
apache/skywalking-eyes/[email protected]
51
51
52
- - name : Install taplo-cli
53
- uses : taiki-e/install-action@v2
54
- with :
55
-
56
52
- name : Check toml format
57
53
run : make check-toml
58
54
55
+ - name : Install protoc
56
+ uses : arduino/setup-protoc@v3
57
+ with :
58
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
59
+
59
60
- name : Cargo format
60
61
run : make check-fmt
61
62
65
66
- name : Cargo clippy
66
67
run : make check-clippy
67
68
68
- - name : Install cargo-machete
69
- uses : taiki-e/install-action@v2
70
- with :
71
- tool : cargo-machete
72
69
- name : Cargo Machete
73
- run : cargo machete
70
+ run : make cargo- machete
74
71
75
72
build :
76
73
runs-on : ${{ matrix.os }}
@@ -81,14 +78,19 @@ jobs:
81
78
- macos-latest
82
79
- windows-latest
83
80
steps :
84
- - uses : actions/checkout@v4
81
+ - uses : actions/checkout@v5
85
82
86
83
- name : Setup Rust toolchain
87
84
uses : ./.github/actions/setup-builder
88
85
89
86
- name : Cache Rust artifacts
90
87
uses : Swatinem/rust-cache@v2
91
88
89
+ - name : Install protoc
90
+ uses : arduino/setup-protoc@v3
91
+ with :
92
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
93
+
92
94
- name : Build
93
95
run : make build
94
96
@@ -101,7 +103,7 @@ jobs:
101
103
- macos-latest
102
104
- windows-latest
103
105
steps :
104
- - uses : actions/checkout@v4
106
+ - uses : actions/checkout@v5
105
107
106
108
- name : Setup Rust toolchain
107
109
uses : ./.github/actions/setup-builder
@@ -126,19 +128,24 @@ jobs:
126
128
root-reserve-mb : 10240
127
129
temp-reserve-mb : 10240
128
130
129
- - uses : actions/checkout@v4
131
+ - uses : actions/checkout@v5
130
132
131
133
- name : Setup Rust toolchain
132
134
uses : ./.github/actions/setup-builder
133
135
136
+ - name : Install protoc
137
+ uses : arduino/setup-protoc@v3
138
+ with :
139
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
140
+
134
141
- name : Cache Rust artifacts
135
142
uses : Swatinem/rust-cache@v2
136
143
137
144
- name : Test
138
145
run : cargo test --no-fail-fast --all-targets --all-features --workspace
139
146
140
- - name : Async-std Test
141
- run : cargo test --no-fail-fast --all-targets --no-default-features --features "async-std " --features "storage-all" --workspace
147
+ - name : Smol Test
148
+ run : cargo test --no-fail-fast --all-targets --no-default-features --features "smol " --features "storage-all" --workspace
142
149
143
150
- name : Doc Test
144
151
run : cargo test --no-fail-fast --doc --all-features --workspace
@@ -147,12 +154,16 @@ jobs:
147
154
name : Verify MSRV
148
155
runs-on : ubuntu-latest
149
156
steps :
150
- - uses : actions/checkout@v4
157
+ - uses : actions/checkout@v5
151
158
- name : Setup Nightly Rust toolchain
152
159
uses : ./.github/actions/setup-builder
160
+ - name : Install protoc
161
+ uses : arduino/setup-protoc@v3
162
+ with :
163
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
153
164
- name : Generate minimal versions lockfile
154
165
run : |
155
- cargo generate-lockfile -Z direct-minimal-versions -Z minimal-versions
166
+ cargo generate-lockfile -Z direct-minimal-versions
156
167
- name : Setup MSRV Rust toolchain
157
168
uses : ./.github/actions/setup-builder
158
169
with :
0 commit comments