diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 205c48a..1f7be3f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -15,10 +15,12 @@ jobs: GOFLAGS: -mod=readonly GITHUB_TOKEN: ${{ secrets.REGISTRY_PAT }} steps: - - name: install node (required by JS-based actions) - run: apk add --no-cache nodejs git - - - uses: actions/checkout@v4 + - name: Checkout code + run: | + git init + git remote add origin https://forgejo.riotpiao.com/rock/poimen-workflows.git + git fetch origin ${{ github.ref_name }} --depth=1 + git checkout FETCH_HEAD - name: Download dependencies run: go mod download