From 5278b313e12c66d548b0bdd5d77dd988bc235b9c Mon Sep 17 00:00:00 2001 From: lily Date: Mon, 24 Aug 2026 18:33:14 -0400 Subject: [PATCH] forgejo runners fixes --- .forgejo/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index e3657e4..3bc7dcd 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -10,12 +10,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, clippy - - - name: Install build tools - run: sudo apt-get update && sudo apt-get install -y build-essential + - name: Install build tools and Rust + run: | + apt-get update && apt-get install -y build-essential curl ca-certificates + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --component rustfmt,clippy + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" - name: Format check run: cargo fmt --check