From 42841d9114d037c5feb94669cf64abd2075f76c5 Mon Sep 17 00:00:00 2001 From: gizmo385 Date: Wed, 19 Jun 2024 00:53:11 -0600 Subject: [PATCH] Add code quality github check --- .github/workflows/code-checks.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/code-checks.yaml 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