From d9be5e3e5191bf87cc0fe94ea7baa8a6581de89b Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 28 Apr 2026 16:19:22 -0300 Subject: [PATCH] fix: Add rustup default stable before build - Fixes 'rustup could not choose a version of cargo' error - Sets stable toolchain as default before cargo build - Preserves sccache configuration and workspace cache --- .forgejo/workflows/botserver.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index 831ab694..39e19073 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -33,6 +33,7 @@ jobs: - name: Build BotServer and BotUI run: | cd /opt/gbo/work/generalbots + rustup default stable export RUSTC_WRAPPER=sccache echo "=== sccache stats before build ===" sccache --show-stats 2>/dev/null || echo "sccache not available"