mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.2.2...v1.2.3) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip dependency-version: 1.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 lines
399 B
Makefile
19 lines
399 B
Makefile
GOCMD=go
|
|
|
|
linters-install:
|
|
@golangci-lint --version >/dev/null 2>&1 || { \
|
|
echo "installing linting tools..."; \
|
|
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v2.0.2; \
|
|
}
|
|
|
|
lint: linters-install
|
|
golangci-lint run
|
|
|
|
test:
|
|
$(GOCMD) test -cover -race ./...
|
|
|
|
bench:
|
|
$(GOCMD) test -run=NONE -bench=. -benchmem ./...
|
|
|
|
.PHONY: test lint linters-install
|