TUN-5012: Use patched go-sumtype
This commit is contained in:
parent
d1801776b0
commit
671754fd19
|
@ -13,7 +13,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
- name: Install go-sumtype
|
- name: Install go-sumtype
|
||||||
run: go get github.com/BurntSushi/go-sumtype
|
run: go get github.com/sudarshan-reddy/go-sumtype
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -253,7 +253,10 @@ quic-deps:
|
||||||
.PHONY: vet
|
.PHONY: vet
|
||||||
vet:
|
vet:
|
||||||
go vet -mod=vendor ./...
|
go vet -mod=vendor ./...
|
||||||
which go-sumtype # go get github.com/BurntSushi/go-sumtype (don't do this in build directory or this will cause vendor issues)
|
# go get github.com/sudarshan-reddy/go-sumtype (don't do this in build directory or this will cause vendor issues)
|
||||||
|
# Note: If you have github.com/BurntSushi/go-sumtype then you might have to use the repo above instead
|
||||||
|
# for now because it uses an older version of golang.org/x/tools.
|
||||||
|
which go-sumtype
|
||||||
go-sumtype $$(go list -mod=vendor ./...)
|
go-sumtype $$(go list -mod=vendor ./...)
|
||||||
|
|
||||||
.PHONY: goimports
|
.PHONY: goimports
|
||||||
|
|
Loading…
Reference in New Issue