Browse Source

TUN-5012: Use patched go-sumtype

pull/455/head
Sudarsan Reddy 9 months ago
parent
commit
671754fd19
  1. 2
      .github/workflows/check.yaml
  2. 5
      Makefile

2
.github/workflows/check.yaml

@ -13,7 +13,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Install go-sumtype
run: go get github.com/BurntSushi/go-sumtype
run: go get github.com/sudarshan-reddy/go-sumtype
- name: Checkout code
uses: actions/checkout@v2
- name: Test

5
Makefile

@ -253,7 +253,10 @@ quic-deps:
.PHONY: vet
vet:
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 ./...)
.PHONY: goimports

Loading…
Cancel
Save