mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-19 01:37:28 -06:00
[chore] update dependencies (#4423)
- codeberg.org/gruf/go-ffmpreg: v0.6.10 -> v0.6.11 - github.com/spf13/cast: v1.9.2 -> v1.10.0 - github.com/spf13/viper: v1.20.1 -> v1.21.0 - golang.org/x/crypto: v0.41.0 -> v0.42.0 - golang.org/x/image: v0.30.0 -> v0.31.0 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4423 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
a6429b5410
commit
c949b9f2d1
97 changed files with 14611 additions and 3494 deletions
24
vendor/github.com/sourcegraph/conc/Makefile
generated
vendored
Normal file
24
vendor/github.com/sourcegraph/conc/Makefile
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
.DEFAULT_GOAL := help
|
||||
|
||||
GO_BIN ?= $(shell go env GOPATH)/bin
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
$(GO_BIN)/golangci-lint:
|
||||
@echo "==> Installing golangci-lint within "${GO_BIN}""
|
||||
@go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
|
||||
.PHONY: lint
|
||||
lint: $(GO_BIN)/golangci-lint ## Run linting on Go files
|
||||
@echo "==> Linting Go source files"
|
||||
@golangci-lint run -v --fix -c .golangci.yml ./...
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run tests
|
||||
go test -race -v ./... -coverprofile ./coverage.txt
|
||||
|
||||
.PHONY: bench
|
||||
bench: ## Run benchmarks. See https://pkg.go.dev/cmd/go#hdr-Testing_flags
|
||||
go test ./... -bench . -benchtime 5s -timeout 0 -run=XXX -cpu 1 -benchmem
|
||||
Loading…
Add table
Add a link
Reference in a new issue