ci: install Python3 via apt before pip — runner is node:20-bullseye
Lint / Python (flake8) (push) Successful in 22s
Lint / Python (flake8) (push) Successful in 22s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,8 +13,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install flake8
|
||||
run: pip install flake8
|
||||
- name: Install Python and flake8
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq python3 python3-pip
|
||||
pip3 install flake8
|
||||
|
||||
- name: Run flake8
|
||||
run: flake8 .
|
||||
run: flake8 . --exclude=__pycache__,.git
|
||||
|
||||
Reference in New Issue
Block a user