From 254a4e606131acc6d709c74ed491d3191d19bfc9 Mon Sep 17 00:00:00 2001 From: andrussal Date: Tue, 2 Dec 2025 07:14:56 +0100 Subject: [PATCH] Reduce local smoke disk usage --- .github/workflows/lint.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8e3a071..266b647 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -131,6 +131,10 @@ jobs: LOCAL_DEMO_VALIDATORS: 1 LOCAL_DEMO_EXECUTORS: 1 NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits + CARGO_TARGET_DIR: ${{ runner.temp }}/target-local + CARGO_INCREMENTAL: 0 + CARGO_PROFILE_DEV_DEBUG: 0 + RUSTFLAGS: -C debuginfo=0 steps: - uses: actions/checkout@v4 - name: Set temp dir @@ -157,9 +161,8 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git - target - key: ${{ runner.os }}-target-local-smoke-${{ hashFiles('**/Cargo.lock') }}-nightly-2025-09-14 - restore-keys: ${{ runner.os }}-target-local-smoke- + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo- - name: Build local binaries (nomos-node/executor) run: | SRC_DIR="${TMPDIR:-/tmp}/nomos-node-src"