diff --git a/github/gen-accessors.go b/github/gen-accessors.go index d8d5910f688..58ac3eb162b 100644 --- a/github/gen-accessors.go +++ b/github/gen-accessors.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // gen-accessors generates accessor methods for structs with pointer fields. diff --git a/github/gen-stringify-test.go b/github/gen-stringify-test.go index cc1d153693f..0bd1f120be4 100644 --- a/github/gen-stringify-test.go +++ b/github/gen-stringify-test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build ignore // +build ignore // gen-stringify-test generates test methods to test the String methods. diff --git a/github/with_appengine.go b/github/with_appengine.go index 59ce26b2ea3..9053ce1059b 100644 --- a/github/with_appengine.go +++ b/github/with_appengine.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build appengine // +build appengine // This file provides glue for making github work on App Engine. diff --git a/github/without_appengine.go b/github/without_appengine.go index 6f8fdac5603..0024ae4157e 100644 --- a/github/without_appengine.go +++ b/github/without_appengine.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !appengine // +build !appengine // This file provides glue for making github work without App Engine. diff --git a/test/integration/activity_test.go b/test/integration/activity_test.go index 013ac5f0498..f0a85461f6a 100644 --- a/test/integration/activity_test.go +++ b/test/integration/activity_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/audit_log_test.go b/test/integration/audit_log_test.go index 9ed96eda724..7819f9292ff 100644 --- a/test/integration/audit_log_test.go +++ b/test/integration/audit_log_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/authorizations_test.go b/test/integration/authorizations_test.go index 5b832f339f2..e0f05f527fd 100644 --- a/test/integration/authorizations_test.go +++ b/test/integration/authorizations_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/github_test.go b/test/integration/github_test.go index 52db8ac6b28..21bcf1a3577 100644 --- a/test/integration/github_test.go +++ b/test/integration/github_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/issues_test.go b/test/integration/issues_test.go index a5e489006bc..c151ae482bd 100644 --- a/test/integration/issues_test.go +++ b/test/integration/issues_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/misc_test.go b/test/integration/misc_test.go index 1595cf07b9b..60753ada7d7 100644 --- a/test/integration/misc_test.go +++ b/test/integration/misc_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/pulls_test.go b/test/integration/pulls_test.go index 4aadfbd7117..c054f55d41e 100644 --- a/test/integration/pulls_test.go +++ b/test/integration/pulls_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/repos_test.go b/test/integration/repos_test.go index 8173bb2fe17..30445adab7c 100644 --- a/test/integration/repos_test.go +++ b/test/integration/repos_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration diff --git a/test/integration/users_test.go b/test/integration/users_test.go index 4318610692d..1b8145e87ff 100644 --- a/test/integration/users_test.go +++ b/test/integration/users_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package integration