1
+ # Note: This test file temporarily pins nightly-2023-11-01 instead of the latest nightly,
2
+ # because the requirements for an unstable feature changed recently, which causes this
3
+ # error on latest nightly:
4
+ #
5
+ # error[E0658]: use of unstable library feature 'core_io_borrowed_buf'
6
+ #
1
7
name : rustls-ffi
2
8
3
9
permissions :
78
84
persist-credentials : false
79
85
- name : Install nightly rust toolchain
80
86
uses : dtolnay/rust-toolchain@nightly
87
+ with :
88
+ toolchain : nightly-2023-11-01
81
89
- name : Configure CMake
82
90
run : cmake -S . -B build
83
91
- name : Build, debug configuration
95
103
persist-credentials : false
96
104
- name : Install nightly rust toolchain
97
105
uses : dtolnay/rust-toolchain@nightly
106
+ with :
107
+ toolchain : nightly-2023-11-01
98
108
- name : Configure CMake
99
109
run : cmake -S . -B build
100
110
- name : Build, release configuration
@@ -109,8 +119,10 @@ jobs:
109
119
- uses : actions/checkout@v4
110
120
with :
111
121
persist-credentials : false
112
- - name : Install nightly rust toolchain
122
+ - name : Install stable rust toolchain
113
123
uses : dtolnay/rust-toolchain@nightly
124
+ with :
125
+ toolchain : nightly-2023-11-01
114
126
- name : Install cbindgen
115
127
# Pin the installed version of cbindgen so that local usage can be
116
128
# reliably matched to CI. There can be non-semantic differences in
@@ -133,6 +145,8 @@ jobs:
133
145
134
146
- name : Install rust toolchain
135
147
uses : dtolnay/rust-toolchain@nightly
148
+ with :
149
+ toolchain : nightly-2023-11-01
136
150
137
151
- name : cargo doc (all features)
138
152
run : cargo doc --all-features --no-deps --workspace
@@ -150,6 +164,8 @@ jobs:
150
164
151
165
- name : Install rust toolchain
152
166
uses : dtolnay/rust-toolchain@nightly
167
+ with :
168
+ toolchain : nightly-2023-11-01
153
169
154
170
- name : Build client/server binaries
155
171
run : make target/client target/server
0 commit comments