diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d15da9a..180b1e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: go-version: ${{ matrix.go-version }} - name: Install gotestsum - run: go install gotest.tools/gotestsum@latest + run: go install gotest.tools/gotestsum@v1.12.0 - name: Test run: gotestsum -f testname -- ./... -race -count=1 -shuffle=on @@ -46,4 +46,4 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.txt flags: unittests - slug: gofiber/utils \ No newline at end of file + slug: gofiber/utils diff --git a/Makefile b/Makefile index 6e35d6b..d819e79 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ benchmark: ## coverage: ☂️ Generate coverage report .PHONY: coverage coverage: - go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -coverprofile=coverage.out -covermode=atomic + go run gotest.tools/gotestsum@v1.12.0 -f testname -- ./... -race -count=1 -coverprofile=coverage.out -covermode=atomic go tool cover -html=coverage.out -o coverage.html open coverage.html & @@ -46,7 +46,7 @@ modernize: ## test: 🚦 Execute all tests .PHONY: test test: - go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -shuffle=on + go run gotest.tools/gotestsum@v1.12.0 -f testname -- ./... -race -count=1 -shuffle=on ## tidy: 📌 Clean and tidy dependencies .PHONY: tidy