Skip to content

Commit 671754f

Browse files
TUN-5012: Use patched go-sumtype
1 parent d180177 commit 671754f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
go-version: ${{ matrix.go-version }}
1515
- name: Install go-sumtype
16-
run: go get github.com/BurntSushi/go-sumtype
16+
run: go get github.com/sudarshan-reddy/go-sumtype
1717
- name: Checkout code
1818
uses: actions/checkout@v2
1919
- name: Test

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,10 @@ quic-deps:
253253
.PHONY: vet
254254
vet:
255255
go vet -mod=vendor ./...
256-
which go-sumtype # go get github.com/BurntSushi/go-sumtype (don't do this in build directory or this will cause vendor issues)
256+
# go get github.com/sudarshan-reddy/go-sumtype (don't do this in build directory or this will cause vendor issues)
257+
# Note: If you have github.com/BurntSushi/go-sumtype then you might have to use the repo above instead
258+
# for now because it uses an older version of golang.org/x/tools.
259+
which go-sumtype
257260
go-sumtype $$(go list -mod=vendor ./...)
258261

259262
.PHONY: goimports

0 commit comments

Comments
 (0)