Skip to content

Commit

Permalink
feat: optimize Dependabot config (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsorber authored Apr 21, 2024
1 parent 27b6ceb commit 8ab7ee0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8ab7ee0

Please sign in to comment.