Skip to content

Add Pico W Compatibility (#6) #17

Add Pico W Compatibility (#6)

Add Pico W Compatibility (#6) #17

Workflow file for this run

name: Code Quality Checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check-autopep8-isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-autopep8
- run: |
python -m pip install --upgrade pip
pip install autopep8 isort
- run: autopep8 --diff --exit-code $(git ls-files '*.py')
- run: isort --diff --check $(git ls-files '*.py')
check-clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
clang-format --dry-run --Werror $(git ls-files '*.cpp' '*.h')