diff --git a/WORKSPACE b/WORKSPACE index c1489fde..4274aa1b 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -2,7 +2,7 @@ workspace(name = "martian") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -RULES_GO_VERSION = "v0.47.1" +RULES_GO_VERSION = "v0.48.1" _RULES_GO_ARCHIVE = "github.com/bazelbuild/rules_go/releases/download/{}/rules_go-{}.zip".format( RULES_GO_VERSION, @@ -11,14 +11,14 @@ _RULES_GO_ARCHIVE = "github.com/bazelbuild/rules_go/releases/download/{}/rules_g http_archive( name = "io_bazel_rules_go", - sha256 = "f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16", + sha256 = "b2038e2de2cace18f032249cb4bb0048abf583a36369fa98f687af1b3f880b26", urls = [ "https://mirror.bazel.build/" + _RULES_GO_ARCHIVE, "https://" + _RULES_GO_ARCHIVE, ], ) -GAZELLE_VERSION = "v0.36.0" +GAZELLE_VERSION = "v0.37.0" _GAZELLE_ARCHIVE = "github.com/bazelbuild/bazel-gazelle/releases/download/{}/bazel-gazelle-{}.tar.gz".format( GAZELLE_VERSION, @@ -27,7 +27,7 @@ _GAZELLE_ARCHIVE = "github.com/bazelbuild/bazel-gazelle/releases/download/{}/baz http_archive( name = "bazel_gazelle", - integrity = "sha256-dd8ojEsxyB61D1Hi4U9HY8t1SNquEmgXJHBkY3/Z6mI=", + integrity = "sha256-12v3pg/YsFBEQJDfooN6Tq+YKeEWVhjuNdzspcvfWNU=", urls = [ "https://storage.googleapis.com/bazel-mirror/" + _GAZELLE_ARCHIVE, "https://" + _GAZELLE_ARCHIVE, diff --git a/deps.bzl b/deps.bzl index 7768c3da..8dd55cc9 100644 --- a/deps.bzl +++ b/deps.bzl @@ -21,21 +21,21 @@ def martian_dependencies( maybe( http_archive, name = "bazel_skylib", - # 1.4.2, latest as of 2023-06-08 + # 1.6.1, latest as of 2024-05-20 urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz", ], - sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa", + sha256 = "9f38886a40548c6e96c106b752f242130ee11aaa068a56ba7e56f4511f33e4f2", ) # Also do this before gazelle_dependencies. maybe( go_repository, - # v0.15.0, latest as of 2023-12-15 name = "org_golang_x_sys", - version = "v0.19.0", - sum = "h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=", + # v0.20.0, latest as of 2024-05-20 + version = "v0.20.0", + sum = "h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=", importpath = "golang.org/x/sys", ) @@ -67,10 +67,10 @@ def martian_dependencies( # is included here mostly for clarity. go_repository, name = "org_golang_x_tools", - # v0.15.0, latest as of 2023-11-16 - version = "v0.20.0", + # v0.21.0, latest as of 2024-05-20 + version = "v0.21.0", importpath = "golang.org/x/tools", - sum = "h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY=", + sum = "h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=", ) maybe( diff --git a/go.mod b/go.mod index 376ea1b0..bfbdc9be 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ require ( github.com/dustin/go-humanize v1.0.1 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 github.com/martian-lang/docopt.go v0.0.0-20180828184714-57cc8f5f669d - golang.org/x/sys v0.19.0 - golang.org/x/tools v0.20.0 + golang.org/x/sys v0.20.0 + golang.org/x/tools v0.21.0 ) -go 1.20 +go 1.21 diff --git a/go.sum b/go.sum index e9826c7c..897ed855 100644 --- a/go.sum +++ b/go.sum @@ -4,7 +4,7 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaU github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/martian-lang/docopt.go v0.0.0-20180828184714-57cc8f5f669d h1:H9E5hH90ZABvmY6cJLUCzNKs1OKIsQ1eo7tFxzJKoI0= github.com/martian-lang/docopt.go v0.0.0-20180828184714-57cc8f5f669d/go.mod h1:jEIK8Vz86rqUBOIHF8l3bfxnaXafOY3KY4vGBghfIwQ= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY= -golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= +golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=