-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go 1.22 was released, so 1.21 is now the oldest supported version. PiperOrigin-RevId: 617159143 Change-Id: Ib6f4c077c07ec05fb40aeeabc1e35bcc15ffdc3e
- Loading branch information
1 parent
76c9cff
commit 600bc93
Showing
5 changed files
with
13 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,38 +2,28 @@ workspace(name = "tink_go_awskms") | |
|
||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | ||
|
||
# Release from 2023-12-21 | ||
http_archive( | ||
name = "io_bazel_rules_go", | ||
sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3", | ||
integrity = "sha256-gKmCd60TEdrNg3+bFttiiHcC6fHRxMn3ltASGkbI4YQ=", | ||
urls = [ | ||
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip", | ||
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip", | ||
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", | ||
"https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", | ||
], | ||
) | ||
|
||
# Release from 2023-12-21 | ||
http_archive( | ||
name = "bazel_gazelle", | ||
sha256 = "d3fa66a39028e97d76f9e2db8f1b0c11c099e8e01bf363a923074784e451f809", | ||
integrity = "sha256-MpOL2hbmcABjA1R5Bj2dJMYO2o15/Uc5Vj9Q0zHLMgk=", | ||
urls = [ | ||
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz", | ||
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz", | ||
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz", | ||
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz", | ||
], | ||
) | ||
|
||
# Tink Go AWS KMS Deps. | ||
load("@bazel_gazelle//:deps.bzl", "go_repository", "gazelle_dependencies") | ||
|
||
# This is needed because Gazelle fetches golang.org/x/[email protected] for this project, while | ||
# io_bazel_rules_go requires golang.org/x/[email protected] [2]. | ||
# | ||
# [1] https://github.com/tink-crypto/tink-go-awskms/blob/e8e21693ac1fe8ad9c3a9bb2448e351b76b1f96b/deps.bzl#L145 | ||
# [2] https://github.com/bazelbuild/rules_go/blob/58534a2cda8e546a4dec6ea9c6b64eb0bfe824dd/go/private/repositories.bzl#L66 | ||
go_repository( | ||
name = "org_golang_x_tools", | ||
importpath = "golang.org/x/tools", | ||
sum = "h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4=", | ||
version = "v0.7.0", | ||
) | ||
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") | ||
|
||
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") | ||
|
||
|
@@ -46,7 +36,7 @@ go_rules_dependencies() | |
|
||
go_register_toolchains( | ||
nogo = "@//:tink_nogo", | ||
version = "1.20.10", | ||
version = "1.21.8", | ||
) | ||
|
||
gazelle_dependencies() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/tink-crypto/tink-go-awskms/v2 | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go v1.49.21 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters