forked from mtusi2026/mtusi2026lab2
fix: use runner Python in Gitea Actions
This commit is contained in:
@@ -28,16 +28,12 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.13"
|
|
||||||
|
|
||||||
- name: Check contract
|
- name: Check contract
|
||||||
run: make check
|
run: make check
|
||||||
|
|
||||||
- name: Validate OpenAPI
|
- name: Validate OpenAPI
|
||||||
run: |
|
run: |
|
||||||
python -m venv .venv
|
python3 -m venv .venv
|
||||||
.venv/bin/python -m pip install -r requirements-dev.txt
|
.venv/bin/python -m pip install -r requirements-dev.txt
|
||||||
make validate PYTHON=.venv/bin/python
|
make validate PYTHON=.venv/bin/python
|
||||||
|
|
||||||
|
|||||||
@@ -29,14 +29,10 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.13"
|
|
||||||
|
|
||||||
- name: Verify release
|
- name: Verify release
|
||||||
run: |
|
run: |
|
||||||
make check
|
make check
|
||||||
python -m venv .venv
|
python3 -m venv .venv
|
||||||
.venv/bin/python -m pip install -r requirements-dev.txt
|
.venv/bin/python -m pip install -r requirements-dev.txt
|
||||||
make validate PYTHON=.venv/bin/python
|
make validate PYTHON=.venv/bin/python
|
||||||
test -z "$(gofmt -l cmd internal migrations)"
|
test -z "$(gofmt -l cmd internal migrations)"
|
||||||
|
|||||||
Reference in New Issue
Block a user