mcq-generator / .github /workflows /lint_test.yml
namberino
Initial commit
dfa5afb
raw
history blame contribute delete
500 Bytes
name: Lint, Typecheck, Tests
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install ruff
- name: Run ruff (lint)
run: |
ruff check .