We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794de4c commit 8e315bdCopy full SHA for 8e315bd
1 file changed
.github/workflows/build.yaml
@@ -63,11 +63,10 @@ jobs:
63
- name: Install tparse
64
if: steps.cache-go-bin.outputs.cache-hit != 'true'
65
run: go install github.com/mfridman/tparse
66
- - name: Install golangci-lint
67
- if: steps.cache-go-bin.outputs.cache-hit != 'true'
68
- run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $HOME/go/bin $GOLANGCI_LINT_VERSION
69
- - name: Lint
70
- run: $HOME/go/bin/golangci-lint run --timeout=5m ./...
+ - name: golangci-lint
+ uses: golangci/golangci-lint-action@v2
+ with:
+ version: v1.58.0
71
- name: Test
72
run: go test -failfast -race -covermode=atomic -coverprofile=coverage.txt -cover -json ./... | $HOME/go/bin/tparse
73
0 commit comments