Merge branch 'main' of github.com:adafruit/Adafruit_Learning_System_G… #318
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: SPDX and Pylint | |
on: [pull_request, push, repository_dispatch] | |
jobs: | |
spdx: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Checkout Current Repo | |
uses: actions/checkout@v4 | |
- name: check SPDX licensing | |
run: python ./SPDX.py | |
pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Versions | |
run: | | |
python3 --version | |
- name: Pip install pylint | |
run: | | |
pip install --force-reinstall pylint==2.7.1 | |
- name: Checkout Current Repo | |
uses: actions/checkout@v4 | |
- name: lint | |
run: ./pylint_check.sh |