From 8e3dcb735ed7af14e979b152d1bd19d15b6a1f59 Mon Sep 17 00:00:00 2001 From: clawbot Date: Mon, 9 Mar 2026 23:38:03 -0700 Subject: [PATCH] ci: source cargo env and add rustfmt+clippy --- .gitea/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7419b1d..27478d3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,8 +18,8 @@ jobs: - name: Setup Rust with rustfmt and clippy run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - $HOME/.cargo/bin/rustup component add rustfmt clippy + source "$HOME/.cargo/env" + rustup component add rustfmt clippy - name: Build run: cargo build --release @@ -44,7 +44,7 @@ jobs: - name: Setup Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile default - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + source "$HOME/.cargo/env" - name: Build release binary run: cargo build --release