diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6d074c..00b0e8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,20 +27,11 @@ jobs: with: go-version: 1.21 - - name: Unshallow - run: git fetch --prune --unshallow --tags - - - name: Build - run: make build - - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: version: v1.54 args: --timeout=5m - # see https://github.com/golangci/golangci-lint-action/issues/23, https://github.com/golangci/golangci-lint-action/issues/244 - skip-pkg-cache: true - skip-build-cache: true - name: Run govulncheck uses: golang/govulncheck-action@v1 @@ -56,6 +47,9 @@ jobs: make vet make cover + - name: Build + run: make build + - name: Archive code coverage results uses: actions/upload-artifact@v3 with: