Skip to content

Commit fd82144

Browse files
authored
Fix MSRV check by pinning once_cell (#484)
1 parent 1fc79b1 commit fd82144

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ jobs:
274274
import toml
275275
cargo_toml = toml.load("Cargo.toml")
276276
cargo_toml["dependencies"]["ndarray"] = "0.15.6"
277+
cargo_toml["dependencies"]["once_cell"] = "1.20.3"
277278
with open("Cargo.toml", "w") as f:
278279
toml.dump(cargo_toml, f)
279280
working-directory: examples/simple
@@ -290,6 +291,8 @@ jobs:
290291
pkg_id = pkg["name"] + ":" + pkg["version"]
291292
if pkg["name"] == "ndarray" and pkg["version"] != "0.15.6":
292293
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "0.15.6"], check=True)
294+
elif pkg["name"] == "once_cell" and pkg["version"] != "1.20.3":
295+
subprocess.run(["cargo", "update", "--package", pkg_id, "--precise", "1.20.3"], check=True)
293296
working-directory: examples/simple
294297
shell: python
295298
- name: Test example

0 commit comments

Comments
 (0)