diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fa17f93d..ebd635fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.3" + rev: "v0.14.0" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/gha_basic.md b/docs/pages/guides/gha_basic.md index 972f76df..113cdc8f 100644 --- a/docs/pages/guides/gha_basic.md +++ b/docs/pages/guides/gha_basic.md @@ -115,7 +115,7 @@ tests: allow-prereleases: true - name: Download uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 - name: Test package run: uv run pytest diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 99f4767f..9b2c1330 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -83,7 +83,7 @@ make_sdist: with: fetch-depth: 0 # Optional, use if you use setuptools_scm submodules: true # Optional, use if you have submodules - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 - name: Build SDist run: uv build --sdist @@ -125,7 +125,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 - uses: pypa/cibuildwheel@v3.2 diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index d43dafcb..4071b120 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -111,7 +111,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml` ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.3" + rev: "v0.14.0" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -201,7 +201,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.3" + rev: "v0.14.0" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/tasks.md b/docs/pages/guides/tasks.md index 28be30ad..1f371c56 100644 --- a/docs/pages/guides/tasks.md +++ b/docs/pages/guides/tasks.md @@ -315,7 +315,7 @@ You can install `uv` with `pipx`, `brew`, etc. If you want to use uv in GitHub Actions, one way is to use this: ```yaml -- uses: astral-sh/setup-uv@v6 +- uses: astral-sh/setup-uv@v7 ``` Check your jobs with `uv`; most things do not need to change. The main diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 0c419ca1..cd6a7230 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: python-version: "3.x" - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 - uses: pre-commit/action@v3.0.1 with: @@ -68,7 +68,7 @@ jobs: {%- endraw %} {%- endif %} - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 {%- if cookiecutter.backend == "mesonpy" %} diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} index 30c8201e..5408931f 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} @@ -54,7 +54,7 @@ jobs: with: fetch-depth: 0 - - uses: astral-sh/setup-uv@v6 + - uses: astral-sh/setup-uv@v7 - uses: pypa/cibuildwheel@v3.2 diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 32336943..7488c216 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.3" + rev: "v0.14.0" hooks: - id: ruff-check args: ["--fix", "--show-fixes"]