diff --git a/.github/workflows/docnb.yml b/.github/workflows/docnb.yml index d38e038..af45d0e 100644 --- a/.github/workflows/docnb.yml +++ b/.github/workflows/docnb.yml @@ -21,12 +21,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - - uses: astral-sh/setup-uv@v4 + - uses: astral-sh/setup-uv@v5 with: cache-dependency-glob: | **/pyproject.toml **/uv.lock - enable-cache: true - name: Fetch Jupyter cache if: inputs.specific-pip-packages == '' uses: actions/cache@v4 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 27dd503..c39de15 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -18,12 +18,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - - uses: astral-sh/setup-uv@v4 + - uses: astral-sh/setup-uv@v5 with: cache-dependency-glob: | **/pyproject.toml **/uv.lock - enable-cache: true - if: inputs.apt-packages run: | sudo apt-get update -y diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index b778214..5543727 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -148,9 +148,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: astral-sh/setup-uv@v4 - with: - enable-cache: true + - uses: astral-sh/setup-uv@v5 - run: uv lock --upgrade - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 2e094f7..7536986 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -45,13 +45,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - - uses: astral-sh/setup-uv@v4 + - uses: astral-sh/setup-uv@v5 with: cache-dependency-glob: | **/.pre-commit-config.yaml **/pyproject.toml **/uv.lock - enable-cache: true - name: Fetch pre-commit cache uses: actions/cache@v4 with: @@ -110,6 +109,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 token: ${{ secrets.token || secrets.GITHUB_TOKEN }} - uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 7e26e3c..792d552 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -61,12 +61,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: astral-sh/setup-uv@v4 + - uses: astral-sh/setup-uv@v5 with: cache-dependency-glob: | **/pyproject.toml **/uv.lock - enable-cache: true - uses: ComPWA/actions/cache-sympy@v2 - id: extra if: inputs.additional-extras diff --git a/build-pypi-distribution/action.yml b/build-pypi-distribution/action.yml index c978cad..53752ec 100644 --- a/build-pypi-distribution/action.yml +++ b/build-pypi-distribution/action.yml @@ -13,7 +13,9 @@ runs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v3 + - uses: astral-sh/setup-uv@v5 + with: + enable-cache: false - run: uv pip install --color=always --system build shell: bash - run: python3 -m build diff --git a/create-pytest-matrix/action.yml b/create-pytest-matrix/action.yml index fc98a79..8b70585 100644 --- a/create-pytest-matrix/action.yml +++ b/create-pytest-matrix/action.yml @@ -35,7 +35,9 @@ runs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v3 + - uses: astral-sh/setup-uv@v5 + with: + enable-cache: false - env: UV_SYSTEM_PYTHON: 1 id: set-matrix diff --git a/create-python-version-matrix/action.yml b/create-python-version-matrix/action.yml index 95489ff..39a01f6 100644 --- a/create-python-version-matrix/action.yml +++ b/create-python-version-matrix/action.yml @@ -33,7 +33,9 @@ runs: with: python-version: "3.12" - if: hashFiles('pyproject.toml') - uses: astral-sh/setup-uv@v3 + uses: astral-sh/setup-uv@v5 + with: + enable-cache: false - env: UV_SYSTEM_PYTHON: 1 id: set-matrix diff --git a/get-pypi-name/action.yml b/get-pypi-name/action.yml index f68f781..0110129 100644 --- a/get-pypi-name/action.yml +++ b/get-pypi-name/action.yml @@ -14,7 +14,6 @@ runs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v3 - id: determine-name name: Determine Python package name run: | diff --git a/get-skipped-pre-commit-hooks/action.yml b/get-skipped-pre-commit-hooks/action.yml index a9c7121..7734d7a 100644 --- a/get-skipped-pre-commit-hooks/action.yml +++ b/get-skipped-pre-commit-hooks/action.yml @@ -20,7 +20,9 @@ runs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - uses: astral-sh/setup-uv@v3 + - uses: astral-sh/setup-uv@v5 + with: + enable-cache: false - env: UV_SYSTEM_PYTHON: 1 id: set-hooks