fix: fuck it, literally just download rust every time it needs to be used

This commit is contained in:
Xory ​ 2024-04-17 11:44:55 +00:00
parent 40bcd2bf6e
commit 2acbf3eb30

View file

@ -18,11 +18,13 @@ image: "rust:latest"
build:cargo: build:cargo:
script: script:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- rustc --version && cargo --version - rustc --version && cargo --version
- cargo build - cargo build
# Use cargo to test the project # Use cargo to test the project
test:cargo: test:cargo:
script: script:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose - cargo test --workspace --verbose