This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Merge pull request #35 from SELab-2/github_actions #56
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: Backend | |
on: [push] | |
jobs: | |
lint: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: pip install -r backend/requirements.txt | |
- name: Lint code | |
run: ruff check backend | |
- name: Run Pyright | |
run: pyright |