diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9286536..4919b08 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,12 +28,12 @@ jobs: name: ${{ matrix.context.project_name }} steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup nox - uses: wntrblm/nox@2022.11.21 + uses: wntrblm/nox@2023.04.22 with: python-versions: "3.8, 3.9, 3.10, 3.11, pypy-3.8, pypy-3.9" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f53aae..793f9be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks @@ -24,12 +24,12 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.5 hooks: - id: codespell additional_dependencies: ["tomli"] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.10.1 hooks: - id: pyupgrade args: [--py38-plus] @@ -38,12 +38,12 @@ repos: hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 additional_dependencies: - flake8-bandit==4.1.1 - - flake8-bugbear==23.1.20 - - flake8-comprehensions==3.10.1 + - flake8-bugbear==23.7.10 + - flake8-comprehensions==3.14.0 - flake8-debugger==4.1.2 - flake8-string-format==0.3.0 diff --git a/action.yml b/action.yml index 96fcb13..d1b6807 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,7 @@ runs: - name: Install cruft shell: bash - run: pip install cruft==2.12.0 # renovate: datasource=pypi + run: pip install cruft==2.15.0 # renovate: datasource=pypi - name: Update template via cruft shell: bash @@ -62,7 +62,7 @@ runs: - name: Create PR if: ${{ steps.diff.outputs.changes != '' }} - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v5 with: token: ${{ inputs.token }} commit-message: update template diff --git a/{{cookiecutter.project_name}}/.github/workflows/docs.yml b/{{cookiecutter.project_name}}/.github/workflows/docs.yml index f03c79b..a05bc14 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/docs.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/docs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/{{cookiecutter.project_name}}/.github/workflows/release.yml b/{{cookiecutter.project_name}}/.github/workflows/release.yml index 199e7fe..20e499d 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/{{cookiecutter.project_name}}/.github/workflows/tests.yml b/{{cookiecutter.project_name}}/.github/workflows/tests.yml index c060651..bd18873 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/tests.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: run: nox -s tests-{% raw %}${{ matrix.nox_pyv || matrix.pyv }}{% endraw %} -- --cov-report=xml - name: Upload coverage report - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v3.1.4 - name: Build package run: nox -s build diff --git a/{{cookiecutter.project_name}}/.github/workflows/update-template.yaml b/{{cookiecutter.project_name}}/.github/workflows/update-template.yaml index 2fe700d..59f0b2e 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/update-template.yaml +++ b/{{cookiecutter.project_name}}/.github/workflows/update-template.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update template uses: iterative/py-template@main diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 576f1d8..10603cd 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks @@ -24,12 +24,12 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.5 hooks: - id: codespell additional_dependencies: ["tomli"] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.10.1 hooks: - id: pyupgrade args: [--py38-plus] @@ -38,16 +38,16 @@ repos: hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==23.1.20 - - flake8-comprehensions==3.10.1 + - flake8-bugbear==23.7.10 + - flake8-comprehensions==3.14.0 - flake8-debugger==4.1.2 - flake8-string-format==0.3.0 - repo: https://github.com/pycqa/bandit - rev: 1.7.4 + rev: 1.7.5 hooks: - id: bandit args: [-c, pyproject.toml]