添加 .gitea/workflows/demo.yml
demo / Lint Check (push) Failing after 24s Details

This commit is contained in:
xxq250 2026-04-13 16:07:13 +08:00
parent 63c693cdff
commit b4ec61e0a3
1 changed files with 31 additions and 0 deletions

31
.gitea/workflows/demo.yml Normal file
View File

@ -0,0 +1,31 @@
name: demo
on: push
jobs:
lint:
name: Lint Check
runs-on: ubuntu-latest-with-xxq
steps:
- name: Checkout (attempt 1)
id: checkout1
uses: https://gitlink.org.cn/actions/checkout@master
with:
repository: innov/vllm-plugin-FL.git
ref: main
- name: Set up Python
uses: https://gitlink.org.cn/actions/setup-python@master
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Ruff check
run: ruff check --output-format=github .
- name: Ruff format check
run: ruff format --check .
- name: Typos check
uses: https://gitlink.org.cn/actions/typos@v1 #crate-ci/typos@v1