Skip to content

Commit f586dea

Browse files
0.0.1-alpha: rust:1.79-alpine in GitHub Actions
1 parent fd42179 commit f586dea

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ jobs:
1212
#
1313
# rust:1.37-alpine was failing some GitHub's extra checks:
1414
# https://github.com/peter-lyons-kehl/prudent/actions/runs/18773758118/job/53563574851
15-
# Other Rust Alpine images that failed: rust:1.54.0-alpine
16-
container: rust:1.76.0-alpine
15+
#
16+
# Other Rust Alpine images that I've tried and they failed: rust:1.54.0-alpine.
17+
#
18+
# Also, our tests use usize::unchecked_add, which was stabilized in Rust 1.79.
19+
container: rust:1.79-alpine
1720
steps:
1821
- name: Checkout code
1922
uses: actions/checkout@v4

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ edition = "2018"
66
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
77

88
# rust-version is recognized only since Rust 1.56, but that's OK.
9+
#
10+
# Tests require Rust 1.79+
911
rust-version = "1.31"
1012

1113
authors = ["Peter Lyons Kehl<[email protected]>"]

0 commit comments

Comments
 (0)