env: - GO111MODULE=on before: hooks: - go mod download builds: - env: - CGO_ENABLED=0 goos: - darwin - linux - windows goarch: - "386" - "amd64" archives: - format_overrides: - goos: windows formats: [ zip ] checksum: name_template: 'checksums.txt' signs: - artifacts: checksum args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]