diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0188a3b..5f19acc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: path: template - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" diff --git a/{{ cookiecutter.__project_name_kebab_case }}/.github/dependabot.yml b/{{ cookiecutter.__project_name_kebab_case }}/.github/dependabot.yml index e98ee6e..b402007 100644 --- a/{{ cookiecutter.__project_name_kebab_case }}/.github/dependabot.yml +++ b/{{ cookiecutter.__project_name_kebab_case }}/.github/dependabot.yml @@ -8,15 +8,29 @@ updates: commit-message: prefix: "ci" prefix-development: "ci" - include: "scope" + include: scope + groups: + ci-dependencies: + patterns: + - "*" - package-ecosystem: pip directory: / schedule: interval: monthly commit-message: - prefix: "build" + prefix: "chore" prefix-development: "build" - include: "scope" - versioning-strategy: lockfile-only + include: scope allow: - - dependency-type: "all" + {%- if cookiecutter.project_type == "app" %} + - dependency-type: production + {%- endif %} + - dependency-type: development + versioning-strategy: increase + groups: + {%- if cookiecutter.project_type == "app" %} + runtime-dependencies: + dependency-type: production + {%- endif %} + development-dependencies: + dependency-type: development diff --git a/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/publish.yml b/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/publish.yml index 546af45..503f9f6 100644 --- a/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/publish.yml +++ b/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "{{ cookiecutter.python_version }}" diff --git a/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/test.yml b/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/test.yml index 48ad286..2d5e58d 100644 --- a/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/test.yml +++ b/{{ cookiecutter.__project_name_kebab_case }}/.github/workflows/test.yml @@ -42,6 +42,6 @@ jobs: run: devcontainer exec --workspace-folder . poe test - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: reports/coverage.xml