diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b57bfae7c6..189fafc426 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -40,6 +40,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -78,6 +81,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Install dependencies run: go mod download @@ -125,6 +131,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Setup Node.js uses: actions/setup-node@v4 with: