From 20a3adabc1eb511e402c56986645b3302b121af7 Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Tue, 17 Mar 2026 18:24:14 +0900 Subject: [PATCH] dedup env: CARGO_INCREMENTAL: 0 --- .github/workflows/CICD.yml | 11 +---------- .github/workflows/code-quality.yml | 3 +-- .github/workflows/fuzzing.yml | 6 +++--- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 702ea10fe72..2656c478c99 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -12,6 +12,7 @@ env: PROJECT_DESC: "Core universal (cross-platform) utilities" PROJECT_AUTH: "uutils" RUST_MIN_SRV: "1.88.0" + CARGO_INCREMENTAL: "0" # * style job configuration STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis @@ -93,8 +94,6 @@ jobs: doc_warnings: name: Documentation/warnings runs-on: ${{ matrix.job.os }} - env: - CARGO_INCREMENTAL: 0 strategy: fail-fast: false matrix: @@ -164,8 +163,6 @@ jobs: min_version: name: MinRustV # Minimum supported rust version (aka, MinSRV or MSRV) runs-on: ${{ matrix.job.os }} - env: - CARGO_INCREMENTAL: 0 strategy: matrix: job: @@ -275,8 +272,6 @@ jobs: needs: [ min_version, deps ] runs-on: ${{ matrix.job.os }} timeout-minutes: 90 - env: - CARGO_INCREMENTAL: 0 strategy: fail-fast: false matrix: @@ -320,8 +315,6 @@ jobs: needs: [ min_version, deps ] runs-on: ${{ matrix.job.os }} timeout-minutes: 90 - env: - CARGO_INCREMENTAL: 0 strategy: fail-fast: false matrix: @@ -370,7 +363,6 @@ jobs: timeout-minutes: 90 env: DOCKER_OPTS: '--volume /etc/passwd:/etc/passwd --volume /etc/group:/etc/group' - CARGO_INCREMENTAL: 0 strategy: fail-fast: false matrix: @@ -703,7 +695,6 @@ jobs: runs-on: ${{ matrix.job.os }} timeout-minutes: 90 env: - CARGO_INCREMENTAL: 0 RUSTC_BOOTSTRAP: 1 strategy: fail-fast: false diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 0690a46471a..adbd1ec268b 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -10,6 +10,7 @@ on: - '*' env: + CARGO_INCREMENTAL: "0" # * style job configuration STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis @@ -66,8 +67,6 @@ jobs: style_lint: name: Style/lint runs-on: ${{ matrix.job.os }} - env: - CARGO_INCREMENTAL: 0 strategy: fail-fast: false matrix: diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index 1a5ecf5f55a..034f5384f38 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -3,6 +3,9 @@ name: Fuzzing # spell-checker:ignore (people) dtolnay Swatinem taiki-e # spell-checker:ignore (misc) fuzzer +env: + CARGO_INCREMENTAL: "0" + on: pull_request: push: @@ -20,8 +23,6 @@ concurrency: jobs: uufuzz-examples: name: Build and test uufuzz examples - env: - CARGO_INCREMENTAL: 0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 @@ -75,7 +76,6 @@ jobs: timeout-minutes: 5 env: RUN_FOR: 60 - CARGO_INCREMENTAL: 0 strategy: matrix: test-target: