From 4c054340dcbb6dc9bd4969a0eb605012b1fdcd31 Mon Sep 17 00:00:00 2001 From: Drjunchenfeng Date: Sat, 22 Aug 2026 00:19:36 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=8A=A0=20Gitea=20Actions=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=EF=BC=88lint=20+=20index=5Fbuild=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..5299531 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,18 @@ +name: ci +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.11" + - run: pip install pyyaml + - name: lint sources + run: python tools/lint_sources.py + - name: lint structured + run: python tools/lint_structured.py + - name: build index + run: python tools/index_build.py