Fix CI: Use pre-installed Rust from rust:trixie container
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 4m13s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 6s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m43s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped

- Remove unnecessary rustup installation since rust:trixie has Rust pre-installed
- Simplify to just verify the existing Rust toolchain
- Avoid conflicts with container's built-in Rust installation
- Should resolve the 'cannot install while Rust is installed' error
This commit is contained in:
joe 2025-08-13 22:31:12 -07:00
parent e1f0782a60
commit d480a59e2f

View file

@ -71,18 +71,10 @@ jobs:
cp -r /tmp/apt-ostree/* .
cp -r /tmp/apt-ostree/.* . 2>/dev/null || true
- name: Install Rust toolchain
- name: Verify Rust toolchain
run: |
# Install rustup to get a stable Rust version
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. ~/.cargo/env
# Use a more stable Rust version (1.75.0 is known to be very stable)
rustup install 1.75.0
rustup default 1.75.0
# Verify Rust version
echo "Using Rust version:"
# Rust is already installed in rust:trixie container
echo "Using pre-installed Rust version:"
rustc --version
cargo --version