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
Owner

Check SPDX-License-Identifier in file headers.

Related to https://github.com/go-gitea/gitea/pull/21840

Check `SPDX-License-Identifier` in file headers. Related to https://github.com/go-gitea/gitea/pull/21840
wolfogre added 1 commit 2022-12-01 09:11:41 +00:00
feat: check SPDX-License-Identifier
Some checks failed
continuous-integration/drone/pr Build is failing
577311fc0b
wolfogre added 1 commit 2022-12-01 09:24:14 +00:00
chore: fix lint in CI
All checks were successful
continuous-integration/drone/pr Build is passing
23ea6c89a4
wolfogre added 1 commit 2022-12-01 09:29:42 +00:00
chore: remove/replace deprecated linters
All checks were successful
continuous-integration/drone/pr Build is passing
882bdd5a20
lunny approved these changes 2022-12-01 09:40:36 +00:00
Author
Owner

Why I updated the download link of golangci-lint:

$ curl https://install.goreleaser.com/github.com/golangci/golangci-lint.sh
curl: (6) Could not resolve host: install.goreleaser.com

Why I updated the linters:

$ gogolangci-lint run --timeout 5m
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner.  Replaced by revive.
WARN [runner] The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner.  Replaced by govet 'fieldalignment'.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
Why I updated the download link of golangci-lint: ``` $ curl https://install.goreleaser.com/github.com/golangci/golangci-lint.sh curl: (6) Could not resolve host: install.goreleaser.com ``` Why I updated the linters: ``` $ gogolangci-lint run --timeout 5m WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused. WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive. WARN [runner] The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'. WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused. WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused. ```
Ghost approved these changes 2022-12-01 13:43:27 +00:00
lunny merged commit 4c10dca949 into master 2022-12-01 15:58:05 +00:00
wolfogre added this to the v0.3.0 milestone 2022-12-02 01:57:19 +00:00
wolfogre added the
feature
label 2022-12-02 02:01:24 +00:00
wolfogre modified the milestone from v0.3.0 to v0.2.2 2022-12-02 02:07:52 +00:00
Sign in to join this conversation.
No description provided.