diff options
author | silverwind <me@silverwind.io> | 2024-04-17 11:40:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 09:40:35 +0000 |
commit | 8e12ef911a1d10dedb03e3127c42ca76f9850aca (patch) | |
tree | 04b6b4fda700ef874412c75831b6d8461184a0f2 /tests | |
parent | 311f5261cdb23b46d3f510e40fd4e2ac06e376c0 (diff) | |
download | gitea-8e12ef911a1d10dedb03e3127c42ca76f9850aca.tar.gz gitea-8e12ef911a1d10dedb03e3127c42ca76f9850aca.zip |
Run `go generate` and `go vet` on all packages (#30529)
Fixes: https://github.com/go-gitea/gitea/issues/30512
I think this does mean those tools would run on a potential `vendor`
directory, but I'm not sure we really support vendoring of dependencies
anymore.
`release` has a `vendor` prerequisite so likely the source tarballs
contain vendor files?
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/api_comment_attachment_test.go | 3 | ||||
-rw-r--r-- | tests/integration/api_issue_attachment_test.go | 3 | ||||
-rw-r--r-- | tests/integration/api_packages_cargo_test.go | 3 | ||||
-rw-r--r-- | tests/integration/markup_external_test.go | 3 | ||||
-rw-r--r-- | tests/integration/repo_mergecommit_revert_test.go | 3 |
5 files changed, 7 insertions, 8 deletions
diff --git a/tests/integration/api_comment_attachment_test.go b/tests/integration/api_comment_attachment_test.go index e5e62a86b7..2d7587bbde 100644 --- a/tests/integration/api_comment_attachment_test.go +++ b/tests/integration/api_comment_attachment_test.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package integration diff --git a/tests/integration/api_issue_attachment_test.go b/tests/integration/api_issue_attachment_test.go index 4b57d387d8..497dd0155e 100644 --- a/tests/integration/api_issue_attachment_test.go +++ b/tests/integration/api_issue_attachment_test.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package integration diff --git a/tests/integration/api_packages_cargo_test.go b/tests/integration/api_packages_cargo_test.go index c0705e0de5..3fb9687653 100644 --- a/tests/integration/api_packages_cargo_test.go +++ b/tests/integration/api_packages_cargo_test.go @@ -1,6 +1,5 @@ // Copyright 2021 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package integration diff --git a/tests/integration/markup_external_test.go b/tests/integration/markup_external_test.go index 5f102f8d62..e50f5c1356 100644 --- a/tests/integration/markup_external_test.go +++ b/tests/integration/markup_external_test.go @@ -1,6 +1,5 @@ // Copyright 2022 The Gitea Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. +// SPDX-License-Identifier: MIT package integration diff --git a/tests/integration/repo_mergecommit_revert_test.go b/tests/integration/repo_mergecommit_revert_test.go index 4d612bdcdb..103fb47e2b 100644 --- a/tests/integration/repo_mergecommit_revert_test.go +++ b/tests/integration/repo_mergecommit_revert_test.go @@ -1,3 +1,6 @@ +// Copyright 2024 The Gitea Authors. All rights reserved. +// SPDX-License-Identifier: MIT + package integration import ( |