Add go-devops build system configuration for standardised build, test, and release workflows across the Go ecosystem. Co-Authored-By: Virgil <virgil@lethean.io>
24 lines
291 B
YAML
24 lines
291 B
YAML
version: 1
|
|
|
|
project:
|
|
name: go-api
|
|
description: REST API framework
|
|
binary: ""
|
|
|
|
build:
|
|
cgo: false
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s
|
|
- -w
|
|
|
|
targets:
|
|
- os: linux
|
|
arch: amd64
|
|
- os: linux
|
|
arch: arm64
|
|
- os: darwin
|
|
arch: arm64
|
|
- os: windows
|
|
arch: amd64
|