load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "github-client", srcs = [ "client.go", "config.go", ], importpath = "edge-infra.dev/pkg/f8n/devinfra/github-client", visibility = ["//visibility:public"], deps = [ "@com_github_bradleyfalzon_ghinstallation_v2//:ghinstallation", "@com_github_google_go_github_v47//github", "@org_golang_x_oauth2//:oauth2", "@org_uber_go_multierr//:multierr", ], ) go_test( name = "github-client_test", srcs = ["config_test.go"], embed = [":github-client"], deps = ["@com_github_stretchr_testify//assert"], )