Skip to content

Commit e25b48f

Browse files
committed
upd gotestsum install
1 parent 1189dc6 commit e25b48f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
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

makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ install-svu: ${EXT_BIN_DIR} ${EXT_TMP_DIR}
166166
.PHONY: install-gotestsum
167167
install-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

0 commit comments

Comments
 (0)