Skip to content

Commit 6496d76

Browse files
committed
add lint workflow
1 parent ca95287 commit 6496d76

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lint
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
- name: Setup Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
21+
- name: Install Dependencies
22+
run: |
23+
sudo apt install python3-tk -y
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.txt
26+
pip install -r dev_requirements.txt
27+
- name: Lint
28+
run: |
29+
pylint backup.py

0 commit comments

Comments
 (0)