Add rule: SQL query has a maximum length (#21) #153
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.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.11" | |
- 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 |