diff --git a/.gitea/workflows/check.yaml b/.gitea/workflows/check.yaml index de79061..b059ee3 100644 --- a/.gitea/workflows/check.yaml +++ b/.gitea/workflows/check.yaml @@ -14,17 +14,18 @@ jobs: uses: actions/setup-go@v3 with: go-version: '1.21.4' + cache: true - # - name: Install dependencies - # run: go mod tidy + - name: Install dependencies + run: go mod tidy - # - name: Install golangci-lint - # run: | - # curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 + - name: Install golangci-lint + run: | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 - # - name: Run golangci-lint - # run: | - # $(go env GOPATH)/bin/golangci-lint run + - name: Run golangci-lint + run: | + $(go env GOPATH)/bin/golangci-lint run # - name: Build # run: go build -v ./...