diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f936826..50d6c20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,12 @@ jobs: runs-on: golang-1.25 steps: - name: Checkout - uses: actions/checkout@v4 + run: | + # Manual git checkout — actions/checkout needs Node, which the + # alpine golang-1.25 image doesn't have. + # Gitea runner doesn't expose a token for clone in the usual + # way; for a same-network runner the repo URL is enough. + git clone --depth 1 "${{ github.server_url }}/${{ github.repository }}.git" . - name: Set GOPROXY run: | @@ -64,7 +69,10 @@ jobs: runs-on: golang-1.25 steps: - name: Checkout - uses: actions/checkout@v4 + run: | + # Manual git checkout — actions/checkout needs Node, which the + # alpine golang-1.25 image doesn't have. + git clone --depth 1 "${{ github.server_url }}/${{ github.repository }}.git" . - name: Set GOPROXY run: |