...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "github-client",
5 srcs = [
6 "client.go",
7 "config.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/devinfra/github-client",
10 visibility = ["//visibility:public"],
11 deps = [
12 "@com_github_bradleyfalzon_ghinstallation_v2//:ghinstallation",
13 "@com_github_google_go_github_v47//github",
14 "@org_golang_x_oauth2//:oauth2",
15 "@org_uber_go_multierr//:multierr",
16 ],
17)
18
19go_test(
20 name = "github-client_test",
21 srcs = ["config_test.go"],
22 embed = [":github-client"],
23 deps = ["@com_github_stretchr_testify//assert"],
24)
View as plain text