Skip to content

Commit

Permalink
chore: upgrade rules_go to v0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed Jan 23, 2025
1 parent a1899c2 commit 4451d0b
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 31 deletions.
9 changes: 0 additions & 9 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,6 @@ load("//gazelle/common/treesitter/grammars:grammars.bzl", "fetch_grammars")

fetch_grammars()

http_archive(
name = "bazel_gomock",
sha256 = "82a5fb946d2eb0fed80d3d70c2556784ec6cb5c35cd65a1b5e93e46f99681650",
strip_prefix = "bazel_gomock-1.3",
urls = [
"https://github.com/jmhodges/bazel_gomock/archive/refs/tags/v1.3.tar.gz",
],
)

load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")

rules_js_dependencies()
Expand Down
3 changes: 1 addition & 2 deletions pkg/aspect/query/shared/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_query_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/aspectgrpc/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_grpc_test.go
# gazelle:exclude mock_buildv1_test.go
Expand Down
3 changes: 1 addition & 2 deletions pkg/bazel/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_bazel_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/bazel/workspace/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_finder_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/osutils/filesystem/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_filesystem_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/plugin/client/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_client_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/plugin/sdk/v1alpha4/plugin/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_plugin_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/plugin/system/bep/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_bep_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/plugin/system/besproxy/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_besproxy_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/plugin/system/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_system_test.go

Expand Down
3 changes: 1 addition & 2 deletions pkg/stdlib/mock/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@bazel_gomock//:gomock.bzl", "gomock")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "gomock")

# gazelle:exclude mock_stdlib_test.go

Expand Down

0 comments on commit 4451d0b

Please sign in to comment.