[#599] Makefile: Remove test_dep target
Flag `-i` is deprecated in go1.16 and it has pretty much no effect since go1.10 when build cache was introduced. Read more about this at https://golang.org/doc/go1.16 Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
68e85e4b33
commit
c973aac891
2 changed files with 1 additions and 10 deletions
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
|
@ -35,9 +35,6 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-go-${{ matrix.go }}-
|
||||
|
||||
- name: Get test dependencies
|
||||
run: make test_dep
|
||||
|
||||
- name: Run go test
|
||||
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
|
|
8
Makefile
8
Makefile
|
@ -49,12 +49,6 @@ dep:
|
|||
GO111MODULE=on \
|
||||
go mod tidy -v && echo OK
|
||||
|
||||
test_dep:
|
||||
@printf "⇒ Install test requirements: "
|
||||
CGO_ENABLED=0 \
|
||||
GO111MODULE=on \
|
||||
go test -i ./... && echo OK
|
||||
|
||||
# Regenerate proto files:
|
||||
protoc:
|
||||
@GOPRIVATE=github.com/nspcc-dev go mod vendor
|
||||
|
@ -99,7 +93,7 @@ imports:
|
|||
@GO111MODULE=on goimports -w cmd/ pkg/ misc/
|
||||
|
||||
# Run Unit Test with go test
|
||||
test: test_dep
|
||||
test:
|
||||
@echo "⇒ Running go test"
|
||||
@GO111MODULE=on go test ./...
|
||||
|
||||
|
|
Loading…
Reference in a new issue