File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,18 @@ Those dependencies must be installed in the WORKSPACE
19
19
``` starlark
20
20
load(" @bazel_tools//tools/build_defs/repo:http.bzl" , " http_archive" )
21
21
22
- RULES_OPA_SHA256 = # ...
23
- RULES_OPA_VERSION = # ...
24
- OPA_VERSION = # ...
25
-
26
22
http_archive(
27
23
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" ,
33
27
)
34
28
35
29
load(" @rules_opa//opa:deps.bzl" , " opa_register_toolchains" , " opa_rules_dependencies" )
36
30
37
31
opa_rules_dependencies()
38
32
39
- opa_register_toolchains(version = OPA_VERSION )
33
+ opa_register_toolchains()
40
34
```
41
35
42
36
## Usage
You can’t perform that action at this time.
0 commit comments