File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 cache : true
4343 -
4444 name : Test Setup
45- uses : gertd/action-gotestsum@v3.0.0
46- with :
47- gotestsum_version : ${{ env.GO_TESTSUM_VER }}
45+ run : |
46+ go install gotest.tools/gotestsum@v${GOTESTSUM_VER}
47+ gotestsum --version
4848 -
4949 name : Setup QEMU
5050 uses : docker/setup-qemu-action@v4
Original file line number Diff line number Diff line change @@ -166,9 +166,7 @@ install-svu: ${EXT_BIN_DIR} ${EXT_TMP_DIR}
166166.PHONY : install-gotestsum
167167install-gotestsum : ${EXT_TMP_DIR} ${EXT_BIN_DIR}
168168 @echo -e " $( ATTN_COLOR) ==> $@ $( NO_COLOR) "
169- @gh release download v${GOTESTSUM_VER} --repo https://github.com/gotestyourself/gotestsum --pattern " gotestsum_${GOTESTSUM_VER} _${GOOS} _${GOARCH} .tar.gz" --output " ${EXT_TMP_DIR} /gotestsum.tar.gz" --clobber
170- @tar -xvf ${EXT_TMP_DIR} /gotestsum.tar.gz --directory ${EXT_BIN_DIR} gotestsum & > /dev/null
171- @chmod +x ${EXT_BIN_DIR} /gotestsum
169+ @GOBIN=${EXT_BIN_DIR} go install gotest.tools/gotestsum@v${GOTESTSUM_VER}
172170 @${EXT_BIN_DIR} /gotestsum --version
173171
174172.PHONY : install-golangci-lint
You can’t perform that action at this time.
0 commit comments