Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
additional_dependencies: [black==24.*]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.12.8"
rev: "v0.12.9"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/guides/gha_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: "3.x"
Expand Down Expand Up @@ -104,7 +104,7 @@ tests:
- "3.13"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Only needed if using setuptools-scm

Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
# more here if you have more situations to detect

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Changed test-related files
if: github.event_name == 'pull_request'
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/guides/gha_pure.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ the name "CI/CD", you can just combine the two `on` dicts.
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -124,7 +124,7 @@ later in the upload action for the release job, as well).
>
> ```yaml
> steps:
> - uses: actions/checkout@v4
> - uses: actions/checkout@v5
> - uses: hynek/build-and-inspect-python-package@v2
> ```
>
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions docs/pages/guides/gha_wheels.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ make_sdist:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: true # Optional, use if you have submodules
Expand Down Expand Up @@ -118,7 +118,7 @@ build_wheels:
- macos-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/guides/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.8"
rev: "v0.12.9"
hooks:
# id: ruff-check would go here if using both
- id: ruff-format
Expand Down Expand Up @@ -201,7 +201,7 @@ pre-commit hook.

```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.12.8"
rev: "v0.12.9"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -821,7 +821,7 @@ schemas, and you can load them via URL. It work on JSON, YAML, and TOML.

```yaml
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.33.2"
rev: "0.33.3"
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand All @@ -50,7 +50,7 @@ jobs:
- macos-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.12.8"
rev: "v0.12.9"
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -103,7 +103,7 @@ repos:
additional_dependencies: ["validate-pyproject-schema-store[all]"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.33.2"
rev: "0.33.3"
hooks:
{%- if cookiecutter.__ci == "github" %}
- id: check-dependabot
Expand Down
Loading