Check SPDX-License-Identifier #21

Merged
lunny merged 3 commits from wolfogre/gitea-vet:featrue/spdx-license-identifier into master 2022-12-01 15:58:05 +00:00
Showing only changes of commit 23ea6c89a4 - Show all commits

@ -17,6 +17,6 @@ vet: build
lint:
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
export BINARY="golangci-lint"; \
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(shell $(GO) env GOPATH)/bin v1.24.0; \
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell $(GO) env GOPATH)/bin v1.50.1; \
fi
golangci-lint run --timeout 5m
golangci-lint run --timeout 5m