mirror of
https://github.com/ratspeak/rsLXMF
synced 2026-11-27 13:52:18 +00:00
release: raise unified MSRV to Rust 1.87
This commit is contained in:
1 parent
8b641971d9
commit
92ea14b485
8 files changed
+13
-13
No files matched your search
@@ -74,7 +74,7 @@ jobs:
|
||||
working-directory: rsLXMF
|
||||
|
||||
msrv:
|
||||
name: Rust 1.85 MSRV
|
||||
name: Rust 1.87 MSRV
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
path: rsReticulum
|
||||
- uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
|
||||
with:
|
||||
toolchain: 1.85.0
|
||||
toolchain: 1.87.0
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
|
||||
with:
|
||||
|
||||
@@ -18,7 +18,7 @@ env:
|
||||
PACKAGE_ROOT: rsLXMF
|
||||
LXMF_BINS: lxmd-rs
|
||||
RSLXMF_RSRETICULUM_VERSION: 1.1.0
|
||||
RSLXMF_RSRETICULUM_COMMIT: ccf2f11419c3824bfcceda7abf777772de783c60
|
||||
RSLXMF_RSRETICULUM_COMMIT: b927f26ca6bf5edf0e0e5f0a3ac78794a513bf60
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
path: rsReticulum
|
||||
- uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
|
||||
with:
|
||||
toolchain: 1.85.0
|
||||
toolchain: 1.87.0
|
||||
- name: Verify release source and dependency
|
||||
working-directory: rsLXMF
|
||||
run: python3 scripts/ci/check_source_release_contract.py --release-tag "${RELEASE_TAG}"
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
path: rsReticulum
|
||||
- uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
|
||||
with:
|
||||
toolchain: 1.85.0
|
||||
toolchain: 1.87.0
|
||||
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2
|
||||
with:
|
||||
workspaces: rsLXMF -> target
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
## Unreleased
|
||||
|
||||
- Made source releases reproducible from an existing immutable component tag:
|
||||
packages are non-publishable by default and expose Rust 1.85 metadata,
|
||||
packages are non-publishable by default and expose Rust 1.87 metadata,
|
||||
release builds use the committed lockfile and exact dependency commits,
|
||||
actions are commit-pinned, and CI verifies the release-source contract.
|
||||
- Replaced temporary aspect-wide announce handlers in remote-control lookup
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ members = [
|
||||
version = "1.1.0"
|
||||
edition = "2024"
|
||||
license = "AGPL-3.0-or-later"
|
||||
rust-version = "1.85"
|
||||
rust-version = "1.87"
|
||||
|
||||
[workspace.dependencies]
|
||||
# Reticulum crates from a sibling rsReticulum checkout during development.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
**Rust LXMF messaging and propagation for Reticulum.**
|
||||
|
||||
[](LICENSE)
|
||||
[](https://www.rust-lang.org)
|
||||
[](https://www.rust-lang.org)
|
||||
[](https://github.com/markqvist/LXMF)
|
||||
[](https://github.com/markqvist/LXMF)
|
||||
[](#feature-status)
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ Before creating a tag:
|
||||
|
||||
The release workflow checks out the requested existing tag, verifies that the
|
||||
tag, manifest, changelog, dependency checkout, and release commit agree, and
|
||||
builds with `--locked` on Rust 1.85.0. Release artifacts include this policy
|
||||
builds with `--locked` on Rust 1.87.0. Release artifacts include this policy
|
||||
and the changelog alongside the README and license.
|
||||
|
||||
All workspace packages are intentionally marked `publish = false`. Changing
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
# Keep Clippy suggestions aligned with the public MSRV in Cargo.toml.
|
||||
msrv = "1.85"
|
||||
msrv = "1.87"
|
||||
@@ -11,7 +11,7 @@ from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
EXPECTED_RUST_VERSION = "1.85"
|
||||
EXPECTED_RUST_VERSION = "1.87"
|
||||
SHA_PATTERN = re.compile(r"^[0-9a-f]{40}$")
|
||||
|
||||
|
||||
@@ -92,8 +92,8 @@ def check_workflow_actions() -> None:
|
||||
def check_release_workflow(reticulum_version: str) -> str:
|
||||
workflow = (ROOT / ".github/workflows/release.yml").read_text()
|
||||
|
||||
if not re.search(r"^\s*toolchain:\s*1\.85\.0\s*$", workflow, re.MULTILINE):
|
||||
fail("release workflow does not select Rust 1.85.0")
|
||||
if not re.search(r"^\s*toolchain:\s*1\.87\.0\s*$", workflow, re.MULTILINE):
|
||||
fail("release workflow does not select Rust 1.87.0")
|
||||
if "ref: ${{ env.RELEASE_TAG }}" not in workflow:
|
||||
fail("release workflow does not check out RELEASE_TAG")
|
||||
|
||||
|
||||
Reference in new issue
Block a user