From fd41f6680365e50f6524bf946a338f9862e1703d Mon Sep 17 00:00:00 2001 From: Konrad Kaim Date: Mon, 22 Sep 2025 12:59:45 +0000 Subject: [PATCH] build: simplify dependencies on build_test so it runs faster --- .github/workflows/build_tests.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_tests.yaml b/.github/workflows/build_tests.yaml index 61ded0a56..f756418e5 100644 --- a/.github/workflows/build_tests.yaml +++ b/.github/workflows/build_tests.yaml @@ -28,6 +28,9 @@ on: branches: ["main","develop"] pull_request: # By default this runs for types assigned, opened and synchronize. +permissions: + contents: read + jobs: set-variables: runs-on: [ubuntu-22.04] @@ -124,7 +127,7 @@ jobs: ${{env.pythonLocation}} key: xpk-deps-${{ matrix.python-version }}-${{github.run_id}}-${{github.run_attempt}} linter: - needs: [install-dependencies, set-variables] + needs: [set-variables] concurrency: # We support one build or nightly test to run at a time currently. group: linter-${{needs.set-variables.outputs.run-id}} cancel-in-progress: true @@ -132,12 +135,12 @@ jobs: with: run-id: '${{needs.set-variables.outputs.run-id}}' verify-goldens: - needs: [install-dependencies, set-variables] + needs: [set-variables] uses: ./.github/workflows/reusable_goldens.yaml with: run-id: '${{needs.set-variables.outputs.run-id}}' run-unit-tests: - needs: [install-dependencies, set-variables] + needs: [set-variables] uses: ./.github/workflows/reusable_unit_tests.yaml with: run-id: ${{needs.set-variables.outputs.run-id}}