Bump fastapi from 0.89.1 to 0.111.0 in /backend #177
Workflow file for this run
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: | |
branches: | |
- "**" | |
paths: | |
- "backend/**" | |
- ".github/workflows/pylint.yml" | |
pull_request: | |
branches: | |
- "master" | |
paths: | |
- "backend/**" | |
- ".github/workflows/pylint.yml" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install neccessary packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install black isort | |
- name: Lint with black | |
uses: wearerequired/lint-action@v2 | |
with: | |
github_token: ${{ secrets.github_token }} | |
auto_fix: true | |
black: true | |
black_auto_fix: true | |
- name: Sort imports | |
run: | | |
isort . --profile black | |
git commit -am "sorted imports" || echo No isort changes to commit! | |
git push |