diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 4bce327b06aa1..7257d92a8266b 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -142,6 +142,8 @@ runs: echo "RUST_BACKTRACE=full" >> "$GITHUB_ENV" # Set nice CI colors echo "CARGO_TERM_COLOR=always" >> "$GITHUB_ENV" + # Incremental compilation has no benefit because in our CI we always start from a clean state. + echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV" fi - name: Enable rust matcher diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5af2787d2b90f..a07ec850373a4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -28,7 +28,6 @@ permissions: contents: read env: - CARGO_INCREMENTAL: "0" # Disable incremental compilation for coverage CI: true jobs: diff --git a/.github/workflows/k8s_e2e.yml b/.github/workflows/k8s_e2e.yml index 329f31e642457..71060116cfd78 100644 --- a/.github/workflows/k8s_e2e.yml +++ b/.github/workflows/k8s_e2e.yml @@ -71,7 +71,6 @@ jobs: # Run this job even if `changes` job is skipped if: ${{ !failure() && !cancelled() && github.event_name != 'pull_request' && needs.changes.outputs.website_only != 'true' && needs.changes.outputs.k8s != 'false' }} env: - CARGO_INCREMENTAL: 0 DISABLE_MOLD: true steps: - name: Checkout branch @@ -207,7 +206,6 @@ jobs: env: USE_MINIKUBE_CACHE: "true" SKIP_PACKAGE_DEB: "true" - CARGO_INCREMENTAL: 0 HELM_CHART_REPO: ${{ github.workspace }}/helm-charts/charts/vector with: timeout_minutes: 45 diff --git a/.github/workflows/test-make-command.yml b/.github/workflows/test-make-command.yml index 2a93f9016fcd1..b0a5e9aa6b4aa 100644 --- a/.github/workflows/test-make-command.yml +++ b/.github/workflows/test-make-command.yml @@ -37,7 +37,6 @@ jobs: id-token: write timeout-minutes: 90 env: - CARGO_INCREMENTAL: 0 DD_ENV: "ci" steps: - name: Checkout branch diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3f95e9262a21f..b6bf76de5f10c 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -55,7 +55,6 @@ permissions: contents: read env: - CARGO_INCREMENTAL: "0" CI: true DD_ENV: "ci" diff --git a/.github/workflows/unit_mac.yml b/.github/workflows/unit_mac.yml index a44a84d368953..aec7b4521e26a 100644 --- a/.github/workflows/unit_mac.yml +++ b/.github/workflows/unit_mac.yml @@ -15,8 +15,6 @@ jobs: unit-mac: runs-on: macos-14-xlarge timeout-minutes: 90 - env: - CARGO_INCREMENTAL: 0 steps: - name: Checkout branch uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2