添加 .gitea/workflows/demo.yml
demo / Lint Check (push) Failing after 24s
Details
demo / Lint Check (push) Failing after 24s
Details
This commit is contained in:
parent
63c693cdff
commit
b4ec61e0a3
|
|
@ -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
|
||||
Loading…
Reference in New Issue