From b5eda96fd4ee3bc6112cdf2e8224c3274a6dd4b5 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 22:08:37 +0000 Subject: [PATCH] Fix: Use rustup to install latest Rust for edition2024 support in Alpine build --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 603f504..4401109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,9 +141,16 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install Rust toolchain (rustup for edition2024 support) + run: | + apk add --no-cache curl + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable + source $HOME/.cargo/env + rustc --version + cargo --version - name: Install build dependencies run: | - apk add --no-cache rust cargo musl-dev openssl-dev git abuild + apk add --no-cache musl-dev openssl-dev git abuild - name: Build APK package run: ./build-alpine.sh - name: Upload to releases (on tag)