From ffcfb0a3a209acca4920ea9c8728317b18b85035 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:36:07 +0000 Subject: [PATCH] Fix CI workflow - use proper checkout instead of wget --- .gitea/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0bda668..80c15f9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,16 +6,18 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Download repo - run: | - wget -q https://gitea.com/7000pctAUTO/json-to-openapi/archive/main.tar.gz -O repo.tar.gz - tar xzf repo.tar.gz - ls -la + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install run: | - cd json-to-openapi-main pip3 install -e . pytest + - name: Test run: | - cd json-to-openapi-main pytest tests/ -v