From d8723372ec840a4e3f9626d9f3d6c04ab82aff00 Mon Sep 17 00:00:00 2001 From: jutty Date: Wed, 18 Feb 2026 15:33:09 -0300 Subject: [PATCH] CI: Extract tools into /tmp --- .forgejo/workflows/publish.yaml | 12 +++++++----- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 82de69a..121df44 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -31,14 +31,16 @@ jobs: fetch() { repo="$1"; tag="$2"; filename="$3"; digest="$4" - curl -sSLO -w '%{stderr}HTTP %{response_code} %{url}\n' \ + curl -sSLO --output-dir /tmp \ + -w '%{stderr}HTTP %{response_code} %{url}\n' \ "https://github.com/$repo/releases/download/$tag/$filename" - printf '%s %s\n' "$digest" "$filename" > digest - sha256sum --check digest && tar xf "$filename" -C tools + printf '%s %s\n' "$digest" "/tmp/$filename" > /tmp/digest + sha256sum --check /tmp/digest + tar xf "/tmp/$filename" -C /tmp/tools } - mkdir tools + mkdir /tmp/tools fetch casey/just ${{ env.JUST_VERSION }} \ just-${{ env.JUST_VERSION }}-x86_64-unknown-linux-musl.tar.gz \ @@ -47,7 +49,7 @@ jobs: cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz \ ${{ env.CARGO_LLVM_COV_SHA256SUM }} - mv -v tools/just tools/cargo-llvm-cov /usr/local/bin + mv -v /tmp/tools/just /tmp/tools/cargo-llvm-cov /usr/local/bin - name: Build release binary and upload it run: just upload diff --git a/Cargo.lock b/Cargo.lock index 9693d21..82dd28d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -123,9 +123,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.19.1" +version = "3.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" +checksum = "5c6f81257d10a0f602a294ae4182251151ff97dbb504ef9afcdda4a64b24d9b4" [[package]] name = "bytes" diff --git a/Cargo.toml b/Cargo.toml index b3344c0..83ecc38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "en" -version = "0.1.2" +version = "0.1.3" description = "A non-linear writing instrument." license = "AGPL-3.0-only"