diff --git a/.github/workflows/code-checks.yaml b/.github/workflows/code-checks.yaml new file mode 100644 index 0000000..a8b8abd --- /dev/null +++ b/.github/workflows/code-checks.yaml @@ -0,0 +1,24 @@ +name: Run code quality checks + +on: + push: + branches: + - main + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - uses: yezz123/setup-uv@v4 + - run: uv run --extra=checks pyright + - run: uv run --extra=checks ruff check