From c1bcc5e5fd45b7cd4180515dbf7767c1a5e936a5 Mon Sep 17 00:00:00 2001 From: dizi Date: Thu, 24 Sep 2026 10:23:47 +0300 Subject: [PATCH] fix: use runner Python in Gitea Actions --- .gitea/workflows/ci.yml | 6 +----- .gitea/workflows/deploy.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e6db7b8..673e584 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -28,16 +28,12 @@ jobs: go-version-file: go.mod cache: false - - uses: actions/setup-python@v5 - with: - python-version: "3.13" - - name: Check contract run: make check - name: Validate OpenAPI run: | - python -m venv .venv + python3 -m venv .venv .venv/bin/python -m pip install -r requirements-dev.txt make validate PYTHON=.venv/bin/python diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a44870f..9e50b96 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -29,14 +29,10 @@ jobs: go-version-file: go.mod cache: false - - uses: actions/setup-python@v5 - with: - python-version: "3.13" - - name: Verify release run: | make check - python -m venv .venv + python3 -m venv .venv .venv/bin/python -m pip install -r requirements-dev.txt make validate PYTHON=.venv/bin/python test -z "$(gofmt -l cmd internal migrations)"