Initial upload with CI/CD workflow
Some checks failed
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
Lint / lint (push) Has been cancelled

This commit is contained in:
2026-01-31 11:08:03 +00:00
parent 4543d84628
commit 1e7bec31b1

26
.gitea/workflows/lint.yml Normal file
View File

@@ -0,0 +1,26 @@
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install lint tools
run: |
pip install ruff mypy
- name: Run ruff
run: |
ruff check .
- name: Run mypy
run: |
mypy shellgen/ --ignore-missing-imports