diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 7cb7d22a..2c04c202 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -81,13 +81,18 @@ jobs: rustc --version cargo --version - # Force stable Rust to avoid SIGSEGV bugs in 1.89.0 - echo "๐Ÿ”ง Forcing stable Rust toolchain..." + # Force clean Rust toolchain to avoid SIGSEGV bugs + echo "๐Ÿ”ง Forcing clean stable Rust toolchain..." rustup default stable rustup update stable - echo "โœ… Now using stable Rust:" + rustup toolchain install stable --force + echo "โœ… Now using clean stable Rust:" rustc --version cargo --version + + # Clear cargo cache to avoid corruption + echo "๐Ÿงน Clearing cargo cache..." + cargo clean - name: Build project run: |