Skip to content

Commit 9c35bb8

Browse files
authored
Update README.md
1 parent f34dbc4 commit 9c35bb8

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,18 @@ Those dependencies must be installed in the WORKSPACE
1919
```starlark
2020
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2121

22-
RULES_OPA_SHA256=#...
23-
RULES_OPA_VERSION=#...
24-
OPA_VERSION=#...
25-
2622
http_archive(
2723
name = "rules_opa",
28-
sha256 = RULES_OPA_SHA256,
29-
urls = [
30-
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip",
31-
"https://github.com/ticketmaster/rules_opa/releases/download/%s/rules_go-%s.zip"%(RULES_OPA_VERSION,RULES_OPA_VERSION),
32-
],
24+
sha256 = "510c9e0a2f556ea443a7da567d84e76b3ebc7aea48665109f35c7029d9a6d56e",
25+
strip_prefix = "rules_opa-0.2.0",
26+
url = "https://github.com/ticketmaster/rules_opa/archive/refs/tags/v0.2.0.tar.gz",
3327
)
3428

3529
load("@rules_opa//opa:deps.bzl", "opa_register_toolchains", "opa_rules_dependencies")
3630

3731
opa_rules_dependencies()
3832

39-
opa_register_toolchains(version = OPA_VERSION)
33+
opa_register_toolchains()
4034
```
4135

4236
## Usage

0 commit comments

Comments
 (0)