Support configuration using pyproject.toml #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dbt-score | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- "docs/**" | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "docs/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
pdm sync -d | |
- name: Run Prettier | |
uses: creyD/[email protected] | |
with: | |
dry: True | |
prettier_options: "--check **/*.{json,yaml,yml,md}" | |
- name: Run Tox | |
run: | | |
pdm run tox -e py,lint |