@@ -24,31 +24,31 @@ jobs:
24
24
name : rustfmt
25
25
runs-on : ubuntu-latest
26
26
steps :
27
- - uses : actions/checkout@v3
27
+ - uses : actions/checkout@v4
28
28
- uses : sfackler/actions/rustup@master
29
29
- uses : sfackler/actions/rustfmt@master
30
30
31
31
clippy :
32
32
name : clippy
33
33
runs-on : ubuntu-latest
34
34
steps :
35
- - uses : actions/checkout@v3
35
+ - uses : actions/checkout@v4
36
36
- uses : sfackler/actions/rustup@master
37
37
- run : echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
38
38
id : rust-version
39
- - uses : actions/cache@v3
39
+ - uses : actions/cache@v4
40
40
with :
41
41
path : ~/.cargo/registry/index
42
42
key : index-${{ runner.os }}-${{ github.run_number }}
43
43
restore-keys : |
44
44
index-${{ runner.os }}-
45
45
- run : cargo generate-lockfile
46
- - uses : actions/cache@v3
46
+ - uses : actions/cache@v4
47
47
with :
48
48
path : ~/.cargo/registry/cache
49
49
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
50
50
- run : cargo fetch
51
- - uses : actions/cache@v3
51
+ - uses : actions/cache@v4
52
52
with :
53
53
path : target
54
54
key : target-${{ github.job }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
@@ -58,26 +58,26 @@ jobs:
58
58
name : min-version
59
59
runs-on : ubuntu-latest
60
60
steps :
61
- - uses : actions/checkout@v3
61
+ - uses : actions/checkout@v4
62
62
# Remember to also update `--rust-target` in `openssl-sys/build/run_bindgen.rs`
63
63
- uses : sfackler/actions/rustup@master
64
64
with :
65
65
version : 1.56.0
66
66
- run : echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
67
67
id : rust-version
68
- - uses : actions/cache@v3
68
+ - uses : actions/cache@v4
69
69
with :
70
70
path : ~/.cargo/registry/index
71
71
key : index-${{ runner.os }}-${{ github.run_number }}
72
72
restore-keys : |
73
73
index-${{ runner.os }}-
74
74
- run : cargo generate-lockfile
75
- - uses : actions/cache@v3
75
+ - uses : actions/cache@v4
76
76
with :
77
77
path : ~/.cargo/registry/cache
78
78
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
79
79
- run : cargo fetch
80
- - uses : actions/cache@v3
80
+ - uses : actions/cache@v4
81
81
with :
82
82
path : target
83
83
key : target-${{ github.job }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
@@ -87,25 +87,25 @@ jobs:
87
87
name : windows-vcpkg
88
88
runs-on : windows-latest
89
89
steps :
90
- - uses : actions/checkout@v3
90
+ - uses : actions/checkout@v4
91
91
- uses : sfackler/actions/rustup@master
92
92
- run : echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
93
93
id : rust-version
94
94
- run : echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
95
95
- run : vcpkg install openssl:x64-windows-static-md
96
- - uses : actions/cache@v3
96
+ - uses : actions/cache@v4
97
97
with :
98
98
path : ~/.cargo/registry/index
99
99
key : index-${{ runner.os }}-${{ github.run_number }}
100
100
restore-keys : |
101
101
index-${{ runner.os }}-
102
102
- run : cargo generate-lockfile
103
- - uses : actions/cache@v3
103
+ - uses : actions/cache@v4
104
104
with :
105
105
path : ~/.cargo/registry/cache
106
106
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
107
107
- run : cargo fetch
108
- - uses : actions/cache@v3
108
+ - uses : actions/cache@v4
109
109
with :
110
110
path : target
111
111
key : target-${{ github.job }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
@@ -117,26 +117,22 @@ jobs:
117
117
name : macos-homebrew
118
118
runs-on : macos-latest
119
119
steps :
120
- - uses : actions/checkout@v3
120
+ - uses : actions/checkout@v4
121
121
- uses : sfackler/actions/rustup@master
122
122
- run : echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
123
123
id : rust-version
124
- - uses : actions/cache@v3
124
+ - uses : actions/cache@v4
125
125
with :
126
126
path : ~/.cargo/registry/index
127
127
key : index-${{ runner.os }}-${{ github.run_number }}
128
128
restore-keys : |
129
129
index-${{ runner.os }}-
130
130
- run : cargo generate-lockfile
131
- - uses : actions/cache@v3
131
+ - uses : actions/cache@v4
132
132
with :
133
133
path : ~/.cargo/registry/cache
134
134
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
135
135
- run : cargo fetch
136
- # - uses: actions/cache@v3
137
- # with:
138
- # path: target
139
- # key: target-${{ github.job }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
140
136
- run : cargo run -p systest
141
137
- run : cargo test -p openssl
142
138
- run : cargo test -p openssl-errors
@@ -211,7 +207,7 @@ jobs:
211
207
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_AR : arm-linux-gnueabihf-ar
212
208
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER : qemu-arm -L /usr/arm-linux-gnueabihf
213
209
steps :
214
- - uses : actions/checkout@v3
210
+ - uses : actions/checkout@v4
215
211
- uses : sfackler/actions/rustup@master
216
212
- run : echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
217
213
id : rust-version
@@ -233,7 +229,7 @@ jobs:
233
229
sudo apt-get update
234
230
sudo apt-get install -y $packages
235
231
- run : sudo apt-get remove -y libssl-dev
236
- - uses : actions/cache@v3
232
+ - uses : actions/cache@v4
237
233
with :
238
234
path : /opt/openssl
239
235
key : openssl-${{ matrix.target }}-${{ matrix.library.name }}-${{ matrix.library.version }}-6
@@ -320,19 +316,19 @@ jobs:
320
316
echo '[patch.crates-io]' > .cargo/config.toml
321
317
echo 'bssl-sys = { path = "'$OPENSSL_DIR'/rust/bssl-sys" }' >> .cargo/config.toml
322
318
if: matrix.library.name == 'boringssl' && !matrix.bindgen
323
- - uses : actions/cache@v3
319
+ - uses : actions/cache@v4
324
320
with :
325
321
path : ~/.cargo/registry/index
326
322
key : index-${{ runner.os }}-${{ github.run_number }}
327
323
restore-keys : |
328
324
index-${{ runner.os }}-
329
325
- run : cargo generate-lockfile
330
- - uses : actions/cache@v3
326
+ - uses : actions/cache@v4
331
327
with :
332
328
path : ~/.cargo/registry/cache
333
329
key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
334
330
- run : cargo fetch
335
- - uses : actions/cache@v3
331
+ - uses : actions/cache@v4
336
332
with :
337
333
path : target
338
334
key : target-${{ matrix.target }}-${{ matrix.bindgen }}-${{ matrix.library.name }}-${{ matrix.library.version }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
0 commit comments