Bump actions/checkout from 3 to 4 (#19) #18
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: Lint | |
on: | |
push: | |
branches: | |
- builder | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py', 'setup.cfg') }} | |
- name: Install lint tools | |
run: | | |
python -mpip install -U pip wheel | |
pip install -e .[lint] | |
- name: Checks | |
run: | | |
black --check espurna_nightly_builder | |
pylint espurna_nightly_builder |