mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 00:45:36 +03:00
15 lines
247 B
YAML
15 lines
247 B
YAML
|
version: 1
|
||
|
env:
|
||
|
- GO111MODULE=on
|
||
|
# https://stackoverflow.com/a/62821358/19407
|
||
|
- CGO_ENABLED=0
|
||
|
|
||
|
flags:
|
||
|
- -trimpath
|
||
|
- -tags=netgo
|
||
|
|
||
|
goos: linux
|
||
|
goarch: amd64
|
||
|
binary: scorecard-{{ .Os }}-{{ .Arch }}
|
||
|
ldflags:
|
||
|
- -s {{ .Env.VERSION_LDFLAGS }}
|