chore(actions): add dependabot actions for github actions #7
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: Pylint | |
on: [push] | |
jobs: | |
linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: 🔧 Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip3 install requests python-dotenv Flask flask-cors pylint | |
- name: 🔬 Analysing code with Pylint | |
run: | | |
pylint $(git ls-files '*.py') |