diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2137f82..78b1833 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,12 +15,14 @@ jobs: if: contains(gitea.ref_name, 'test') runs-on: ubuntu-latest steps: - - name: Configure git auth for submodules - run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 + token: ${{ secrets.BUILD_TOKEN }} + persist-credentials: true + - name: Configure git auth for submodules + run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/setup-go@v5 with: go-version: '1.26' @@ -37,12 +39,14 @@ jobs: if: contains(gitea.ref_name, 'test') runs-on: ubuntu-latest steps: - - name: Configure git auth for submodules - run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 + token: ${{ secrets.BUILD_TOKEN }} + persist-credentials: true + - name: Configure git auth for submodules + run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/setup-go@v5 with: go-version: '1.26' @@ -54,12 +58,14 @@ jobs: if: contains(gitea.ref_name, 'test') runs-on: ubuntu-latest steps: - - name: Configure git auth for submodules - run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 + token: ${{ secrets.BUILD_TOKEN }} + persist-credentials: true + - name: Configure git auth for submodules + run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/" - uses: actions/setup-node@v4 with: node-version: '24'