summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2023-09-25 13:09:33 -0400
committermarios8543 <marios8543@gmail.com>2023-10-17 17:08:23 +0300
commit11d731cf35de204f7ade36edeb624db265a87f06 (patch)
tree0b7cb4b93dd1fb00536e4ce879d93b5ce29ead86 /.github
parentbf83eabe6b19e560bc3e5fd5ae961edf7aea6839 (diff)
downloaddecky-loader-11d731cf35de204f7ade36edeb624db265a87f06.tar.gz
decky-loader-11d731cf35de204f7ade36edeb624db265a87f06.zip
add pyright ci
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml24
1 files changed, 20 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1d9444f6..6fb35586 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,8 +10,24 @@ jobs:
steps:
- uses: actions/checkout@v2 # Check out the repository first.
- - name: Run prettier (JavaScript & TypeScript)
+
+ - name: Install Python dependencies
+ run: |
+ python -m pip install --upgrade pip
+ [ -f requirements.txt ] && pip install -r requirements.txt
+
+ - name: Install JavaScript dependencies
+ working-directory: frontend
run: |
- pushd frontend
- npm install
- npm run lint
+ npm i -g pnpm
+ pnpm i --frozen-lockfile
+
+ - name: Run pyright (Python)
+ uses: jakebailey/pyright-action@v1
+ with:
+ python-version: "3.10.6"
+ no-comments: true
+
+ - name: Run prettier (JavaScript & TypeScript)
+ working-directory: frontend
+ run: pnpm run lint \ No newline at end of file