diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ff28ca9c..b50b176c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true @@ -68,7 +68,7 @@ jobs: scripts/ct-lint.sh --config ct.yaml - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true diff --git a/.github/workflows/changelog_check.yml b/.github/workflows/changelog_check.yml index b782e813..928583a2 100644 --- a/.github/workflows/changelog_check.yml +++ b/.github/workflows/changelog_check.yml @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true @@ -50,13 +50,13 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true diff --git a/.github/workflows/licensing.yml b/.github/workflows/licensing.yml index a1ab1c84..0d508fea 100644 --- a/.github/workflows/licensing.yml +++ b/.github/workflows/licensing.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 86f9cf0d..0c9d19a7 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -37,7 +37,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true @@ -82,7 +82,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: # We disable cache for releases to avoid cache poisoning enable-cache: ${{ github.ref_type != 'tag' }} @@ -149,9 +149,10 @@ jobs: path: ./dist - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: - enable-cache: true + # We disable cache for releases to avoid cache poisoning + enable-cache: ${{ github.ref_type != 'tag' }} activate-environment: true - name: Set up UV environment diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 60ad4d6f..64c76405 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -67,7 +67,7 @@ jobs: fetch-tags: true - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true @@ -183,7 +183,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true diff --git a/.github/workflows/releasing.yml b/.github/workflows/releasing.yml index 4730f024..069e52e2 100644 --- a/.github/workflows/releasing.yml +++ b/.github/workflows/releasing.yml @@ -27,7 +27,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: # We disable cache for releases to avoid cache poisoning enable-cache: ${{ github.ref_type != 'tag' }} @@ -77,9 +77,10 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: - enable-cache: true + # We disable cache for releases to avoid cache poisoning + enable-cache: ${{ github.ref_type != 'tag' }} activate-environment: true - name: Set up UV environment @@ -167,9 +168,10 @@ jobs: path: ./ - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: - enable-cache: true + # Only ever runs on tags, so always disable + enable-cache: false activate-environment: true - name: Set up UV environment @@ -234,9 +236,10 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: - enable-cache: true + # Only ever runs on tags, so always disable + enable-cache: false activate-environment: true - name: Set up UV environment diff --git a/.github/workflows/scripts-linting.yml b/.github/workflows/scripts-linting.yml index c5b72773..4f706a6e 100644 --- a/.github/workflows/scripts-linting.yml +++ b/.github/workflows/scripts-linting.yml @@ -37,7 +37,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true activate-environment: true diff --git a/.github/zizmor.yml b/.github/zizmor.yml index d5cc572b..fd23eb93 100644 --- a/.github/zizmor.yml +++ b/.github/zizmor.yml @@ -9,23 +9,17 @@ rules: - matrix-tools.yml:33 # This job do not release any artifact, we do not care about cache poisoning - matrix-tools.yml:56 - # This job do not release any artifact, we do not care about cache poisoning - - releasing.yml:30 - # This job do not release any artifact, we do not care about cache poisoning - - releasing.yml:104 - # This job do not release any artifact, we do not care about cache poisoning - - releasing.yml:194 - # This job do not release any artifact, we do not care about cache poisoning - - releasing.yml:261 # We disable cache on releases - releasing.yml:33 + # We disable cache on releases + - releasing.yml:83 # This job do not release any artifact, we do not care about cache poisoning - packages.yml:40 # We disable cache on releases - packages.yml:85 - # This job do not release any artifact, we do not care about cache poisoning + # We disable cache on releases - packages.yml:152 superfluous-actions: ignore: # The high-level action-gh-release is preferred over the CLI - - releasing.yml:213 + - releasing.yml:190