Install rustup in Gitea CI and add cargo to PATH
change pqquxzzquvvyrvrtpwvkpxqtnszypqxz
commit 2bba359db27bfba14731ded64da3678986d917f0
author Alpha Chen <alpha@kejadlen.dev>
date
parent ntnklvkt
diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml
index 5d50e86..c79ab61 100644
--- a/.gitea/workflows/ci.yml
+++ b/.gitea/workflows/ci.yml
@@ -14,6 +14,8 @@ jobs:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
+      - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
+      - run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
       - run: rustup component add clippy rustfmt llvm-tools
       - run: cargo install grcov
       - run: cargo install just