forked from Xkeeper0/deltarune-viewer
-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (32 loc) · 785 Bytes
/
lint.yml
File metadata and controls
34 lines (32 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Lint
on:
- push
- workflow_dispatch
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
cache: 'pip'
python-version: "3.12"
- name: 'Install requirements'
run: |
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- name: 'Modify Actions PATH'
run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
- name: 'Lint: Pyright'
uses: jakebailey/pyright-action@v2
with:
version: PATH
- name: 'Lint: flake8'
uses: py-actions/flake8@v2.3.0
with:
exclude: .venv