From 7836e65dd4310fc7a4c1f60d7adf3f5e2d736aa1 Mon Sep 17 00:00:00 2001 From: Austin Schuh Date: Thu, 20 Jun 2019 10:25:41 -0700 Subject: [PATCH] Fix compatability with Bazel 0.27 (#5412) rules_go was too old and using deprecated features. Upgrade it. --- WORKSPACE | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index be4a402e2..2ccde8469 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,8 +4,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", - sha256 = "492c3ac68ed9dcf527a07e6a1b2dcbf199c6bf8b35517951467ac32e421c06c1", - urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.17.0/rules_go-0.17.0.tar.gz"], + urls = [ + "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", + "https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz", + ], + sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d", ) load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")