fix: use manual git checkout instead of actions/checkout for Gitea compatibility
Some checks failed
Bash Syntax Check / syntax-check (push) Failing after 0s

This commit is contained in:
2026-02-11 04:49:31 +00:00
parent 6023a0f3b4
commit 321a2d9825

View File

@@ -19,10 +19,12 @@ on:
jobs:
syntax-check:
runs-on: ubuntu-latest
runs-on: linux,x86_64,docker
steps:
- name: Checkout code
uses: actions/checkout@v3
run: |
git clone --depth 1 "$(echo "${{ gitea.server_url }}" | sed "s|://|://oauth2:${{ gitea.token }}@|")/${{ gitea.repository }}.git" .
git checkout -q ${{ github.sha }}
- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck