CI: Fix ccache. #5118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Python Linting | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python Deps | |
run: python3 -m pip install flake8 | |
- name: Lint micropython/modules_py | |
shell: bash | |
run: | | |
python3 -m flake8 --show-source --ignore E501 micropython/modules_py | |
- name: Lint micropython/examples | |
shell: bash | |
run: | | |
python3 -m flake8 --show-source --ignore E501 micropython/examples | |
- name: Lint .py tools in C++ examples | |
shell: bash | |
run: | | |
python3 -m flake8 --show-source --ignore E501 examples |