feat(CICD): add linter job
This commit is contained in:
1 parent
996965dc62
commit
38e80b91d6
1 file changed
+16
@@ -50,3 +50,19 @@ jobs:
|
||||
run: |
|
||||
. .venv/bin/activate
|
||||
python tests/run_tests.py
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: nikolaik/python-nodejs:python3.12-nodejs20
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install lint tools
|
||||
run: |
|
||||
pip install ruff
|
||||
|
||||
- name: Run lint
|
||||
run: |
|
||||
ruff check wallpaper_changer serverlibrary
|
||||
Reference in new issue
Block a user