From e7e421cd45f901b9e60c81b964f3d24a19c4d0bc Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 24 Sep 2024 13:54:47 -0400 Subject: [PATCH] [PSDK-529] GHA for Linting --- .github/pull_request_template.md | 7 +++++++ .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/lint.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..209ca67 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,7 @@ +### What changed? Why? + + +#### Qualified Impact + diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..44ddf57 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install Dependencies + run: | + pip install --upgrade pip + pip install .[dev] + + - name: Lint + run: make lint