Skip to content

Commit 8d5f0bb

Browse files
CI using Rust 1.89.0
1 parent 23c2dcd commit 8d5f0bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
# Other Rust Alpine images that I've tried and they failed: rust:1.54.0-alpine.
1717
#
1818
# Also, our tests use usize::unchecked_add, which was stabilized in Rust 1.79.
19-
container: rust:1.79-alpine
19+
#
20+
# However, with Rust 1.88.0 or older, we were getting false positive errors from `cargo test`,
21+
# reporting constants in doctests as unused, even though they were used. That's why we need at
22+
# least 1.89.
23+
container: rust:1.89.0-alpine
2024
steps:
2125
- name: Checkout code
2226
uses: actions/checkout@v4

0 commit comments

Comments
 (0)