Prevent duplicated rule exception when importing rules and filters (#87) #421
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: ci | |
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", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- 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 |