Fix CI job: run on default node image instead of rust:latest
Some checks failed
CI / ci (push) Failing after 20m50s
CI / ci (pull_request) Failing after 1h20m38s

The rust:latest container has no Node.js, but actions/checkout@v4 and
actions/cache@v4 are JS actions that require it to execute at all,
so the job failed before any cargo/fmt steps ran. Use the default
docker runner image and install the Rust toolchain via rustup instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Austin Schaefer 2026-07-29 12:25:09 +02:00
parent d1fd272fbb
commit 4e65ef3843

View file

@ -7,7 +7,6 @@ on:
jobs: jobs:
ci: ci:
runs-on: docker runs-on: docker
container: rust:latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -22,8 +21,10 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-cargo- ${{ runner.os }}-cargo-
- name: Install toolchain components - name: Install Rust toolchain
run: rustup component add clippy rustfmt run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal --component clippy --component rustfmt
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Install cargo-make and cargo-audit - name: Install cargo-make and cargo-audit
run: | run: |