diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 8159620..b079f59 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0aa2c78..03dccbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: python-version: ["3.9", "3.14"] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v4 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d9e0e1c..b5048a1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,13 +4,13 @@ on: push: branches: [main] paths: - - 'drift/**' - - '.github/workflows/e2e.yml' + - "drift/**" + - ".github/workflows/e2e.yml" pull_request: branches: [main] paths: - - 'drift/**' - - '.github/workflows/e2e.yml' + - "drift/**" + - ".github/workflows/e2e.yml" workflow_dispatch: {} jobs: @@ -31,12 +31,12 @@ jobs: E2E_TESTS=$(find drift/instrumentation -type d -name "e2e-tests" \ | sed 's|drift/instrumentation/||' | sed 's|/e2e-tests||' | sort \ | jq -R -s -c 'split("\n") | map(select(length > 0))') - + # Find all stack-tests directories (multi-instrumentation) STACK_TESTS=$(find drift/stack-tests -mindepth 1 -maxdepth 1 -type d 2>/dev/null \ | xargs -I {} basename {} | sort \ | jq -R -s -c 'split("\n") | map(select(length > 0))') || echo "[]" - + echo "Found e2e-tests: $E2E_TESTS" echo "Found stack-tests: $STACK_TESTS" echo "e2e_matrix=$E2E_TESTS" >> $GITHUB_OUTPUT @@ -54,7 +54,7 @@ jobs: library: ${{ fromJSON(needs.discover.outputs.e2e_matrix) }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v4 diff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.yml index 6e7d6a0..49ff35b 100644 --- a/.github/workflows/publish-python-sdk.yml +++ b/.github/workflows/publish-python-sdk.yml @@ -6,22 +6,22 @@ on: workflow_dispatch: inputs: temp_version: - description: 'Optional version override (ex: 0.1.0-test)' + description: "Optional version override (ex: 0.1.0-test)" required: false - default: '' + default: "" jobs: publish: runs-on: ubuntu-latest permissions: contents: read - id-token: write # Required for trusted publishing to PyPI + id-token: write # Required for trusted publishing to PyPI env: TEMP_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.temp_version || '' }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v4 @@ -49,7 +49,7 @@ jobs: # This makes the manifest available at: https://use-tusk.github.io/drift-python-sdk/instrumentation-manifest.json publish-manifest: needs: [publish] - if: github.event_name == 'release' # Only run on actual releases, not workflow_dispatch + if: github.event_name == 'release' # Only run on actual releases, not workflow_dispatch runs-on: ubuntu-latest permissions: contents: write