diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50d6c20..5f3275c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,7 @@ jobs: runs-on: golang-1.25 steps: - name: Checkout - 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" . + uses: gitea/action-checkout@v4 - name: Set GOPROXY run: | @@ -69,10 +64,7 @@ jobs: runs-on: golang-1.25 steps: - name: Checkout - 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" . + uses: gitea/action-checkout@v4 - name: Set GOPROXY run: |