mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
* add github actions workflow for tag releases * migrate drone build &test step to github actions * fix minio service * fix indentation * fix dependency syntax * remove needs keyword * fix service hostnames, add protectedredis * update protected redis docker image * fix too many args error * exclude vendor dir from gofmt * fix fmt errors * fix fmt errors * rm .drone.yml * rename workflow name * break test step * remove vendor step * use makefile rule * use buildx
30 lines
548 B
YAML
30 lines
548 B
YAML
before:
|
|
hooks:
|
|
- go mod download
|
|
env:
|
|
- CGO_ENABLED=0
|
|
- GOPROXY=https://proxy.golang.org
|
|
project_name: athens
|
|
builds:
|
|
- id: builds
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
main: cmd/proxy/main.go
|
|
binary: athens
|
|
ldflags:
|
|
- -X "github.com/gomods/athens/pkg/build.version={{ .Tag }}"
|
|
- -X "github.com/gomods/athens/pkg/build.buildDate={{ .Env.DATE }}"
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|