From 671754fd194b4062dcba64ea0571a4de899bb9b3 Mon Sep 17 00:00:00 2001 From: Sudarsan Reddy Date: Mon, 30 Aug 2021 10:10:25 +0100 Subject: [PATCH] TUN-5012: Use patched go-sumtype --- .github/workflows/check.yaml | 2 +- Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 1d0c2e61..6a3423c7 100644 --- a/.github/workflows/check.yaml +++ b/.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 diff --git a/Makefile b/Makefile index 8a589d85..74de0799 100644 --- a/Makefile +++ b/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