chore(backend
): add github action for ruff
#1
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 backend style | |
on: [push, pull_request] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: install ruff | |
run: pip install ruff | |
- name: ruff | |
run: python -m ruff check ./backend |