diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 71c4805..ffd89d3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,12 +21,15 @@ jobs: with: go-version-file: 'go.mod' - - name: Show Go environment - run: | - echo "🔧 Go environment:" - go version - go env GOPROXY - go env GOMODCACHE + - name: Cache Go modules + uses: actions/cache@v3 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- - name: Download dependencies run: |