This is a Go version of the popular Danger tool.
Installation of command line toolgo install github.com/danger/golang/cmd/danger-go@latest yarn global add danger
Requires Danger JS to run properly.
build/ci
.dangerfile.go
to the directory with the following contents:package main import "github.com/danger/golang" func Run(d *danger.T, pr danger.DSL) { d.Message("danger-go is running!", "", 0) }
go mod init dangerfile go get github.com/danger/golang go mod tidyRunning danger-go locally
The danger-go
command line tool supports local
, pr
, and ci
commands. danger-go
wraps the corresponding danger
(js) commands, so to get information about flags, run danger <command> --help
.
See .github/workflows/main.yml
as a reference.
danger-go
was developed by Luno.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4