CI: restore actions/checkout@v3 for reliable checkout

This commit is contained in:
2026-06-27 03:42:02 +03:00
parent 7f6bb8911a
commit 5b15c7cf2a
+8 -17
View File
@@ -39,15 +39,10 @@ jobs:
name: Validate source name: Validate source
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - uses: actions/checkout@v3
run: | with:
# Build clone URL from server_url + repository fetch-depth: 0
server_url="${{ gitea.server_url }}" clean: true
clone_url="${server_url}"
git clone "https://git:${RELEASE_TOKEN}@${clone_url#https://}/${{ gitea.repository }}" .
git checkout "${{ github.sha }}"
git log --oneline -3
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@@ -89,14 +84,10 @@ jobs:
target: [linux, windows] target: [linux, windows]
steps: steps:
- name: Checkout repository - uses: actions/checkout@v3
run: | with:
# Build clone URL from server_url + repository fetch-depth: 0
server_url="${{ gitea.server_url }}" clean: true
clone_url="${server_url}"
git clone "https://git:${RELEASE_TOKEN}@${clone_url#https://}/${{ gitea.repository }}" .
git checkout "${{ github.sha }}"
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with: