CI: drop the self-hosted build directory (#1872)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
bherbruckandClaude Opus 5.5 authored and GitHub committed 2026-10-16 21:37:00 -04:00
1 parent dece550164
commit 81ac571fa2
1 file changed
-6
-6
View File
@@ -138,8 +138,6 @@ jobs:
# stay on GitHub's runners, and the runner itself refuses pull-request jobs.
runs-on: ubuntu-24.04
env:
# Outside the checkout, so `git clean` keeps the warm build between runs.
CARGO_TARGET_DIR: ${{ github.event_name == 'pull_request' && 'target' || '/home/ci-runner/cargo-target/clippy' }}
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -168,8 +166,6 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 45
env:
# Outside the checkout, so `git clean` keeps the warm build between runs.
CARGO_TARGET_DIR: ${{ github.event_name == 'pull_request' && 'target' || '/home/ci-runner/cargo-target/build-tests' }}
CARGO_INCREMENTAL: "0"
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
@@ -370,8 +366,6 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 45
env:
# Outside the checkout, so `git clean` keeps the warm build between runs.
CARGO_TARGET_DIR: ${{ github.event_name == 'pull_request' && 'target' || '/home/ci-runner/cargo-target/doc-tests' }}
CARGO_INCREMENTAL: "0"
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"