File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2+ set -e # Exit immediately if any command exits with a non-zero status
23
3- make test
4+ echo " "
5+ echo ' * Verify dependencies'
6+ go mod verify
7+
8+ echo " "
9+ echo ' * Run: go-modernize'
10+ modernize -test ./...
11+
12+ echo " "
13+ echo ' * Run: golangci'
14+ golangci-lint run ./...
15+
16+ echo " "
17+ echo ' * Run: all tests and generate coverage report'
18+ go clean -testcache
19+ go test -count=1 -timeout 30s ./... -covermode=atomic
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ set -e # Exit immediately if any command exits with a non-zero status
23
3- make _go_tools
4+ echo " "
5+ echo ' * Verify dependencies'
6+ go mod verify
7+
8+ echo " "
9+ echo ' * Run: go-modernize'
10+ modernize -test ./...
11+
12+ echo " "
13+ echo ' * Run: golangci'
14+ golangci-lint run ./...
15+
16+ echo " "
17+ echo ' * Run: all tests and generate coverage report'
18+ go clean -testcache
19+ go test -count=1 -timeout 30s ./... -covermode=atomic
You can’t perform that action at this time.
0 commit comments