action-runner/.gitea/workflows/demo.yml

31 lines
773 B
YAML

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