Skip to content
Closed
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
19 changes: 13 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
---
version: 2

multi-ecosystem-groups:
python:
schedule:
interval: "daily"

updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 25
commit-message:
prefix: "deps"
multi-ecosystem-group: "python"
patterns: ["*"]
versioning-strategy: increase

- package-ecosystem: "uv"
directory: "/"
multi-ecosystem-group: "python"
patterns: ["*"]
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,32 @@ on:
branches:
- master

workflow_run: # chain from the uv-lock workflow
workflows: ["uv.lock on Dependabot PRs"]
types: [completed]
permissions:
contents: write
pull-requests: write

jobs:
build:
# Only run if not a Dependabot PR, or once uv-lock has completed successfully
if: |
github.event_name == 'workflow_run' ||
github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v5
- name: Install uv and set the Python version
- name: Install uv and Python
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python }}

- name: Install dependencies
run: |
uv sync --locked --only-dev
run: uv sync --locked --only-dev

- name: Run Prettier
uses: creyD/[email protected]
with:
dry: True
dry: true
prettier_options: "--check **/*.{json,yaml,yml,md}"

- name: Run Tox
run: |
uv run tox -e py,lint
run: uv run tox -e py,lint
39 changes: 0 additions & 39 deletions .github/workflows/dependabot-uv-lock.yml

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,7 @@ This project is licensed under the MIT License - see the
[dbt]: https://github.com/dbt-labs/dbt-core
[dbt-score]: https://dbt-score.picnic.tech/
[contributors-guide]: https://dbt-score.picnic.tech/contributing/

## Changelog

See [CHANGELOG.md](CHANGELOG.md)
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"
fallback-version = "0.0.0"

[project]
name = "dbt-score"
Expand Down Expand Up @@ -31,7 +32,7 @@ dependencies = [
"tomli>=1.1.0; python_version<'3.11'",
]
requires-python = ">=3.10"
readme = "README.md"
readme = { text = "See the project README on GitHub.", content-type = "text/markdown" }
license = {text = "MIT"}

[project.scripts]
Expand Down
Loading