blob: 677e68628ff63d2875247d6c5bfe596135b19334 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "github",
srcs = ["github.go"],
importpath = "go.skia.org/infra/go/github",
visibility = ["//visibility:public"],
deps = [
"//go/exec",
"//go/sklog",
"@com_github_google_go_github_v29//github",
],
)
go_test(
name = "github_test",
srcs = ["github_test.go"],
embed = [":github"],
deps = [
"//go/git",
"//go/mockhttpclient",
"//go/testutils",
"@com_github_go_chi_chi_v5//:chi",
"@com_github_google_go_github_v29//github",
"@com_github_stretchr_testify//require",
],
)