2023-01-30 21:06:18 +00:00
|
|
|
---
|
|
|
|
platform: linux
|
|
|
|
|
|
|
|
image_resource:
|
|
|
|
type: registry-image
|
|
|
|
source:
|
|
|
|
repository: docker.io/golang
|
2023-02-17 18:47:08 +00:00
|
|
|
tag: 1.20-buster
|
2023-01-30 21:06:18 +00:00
|
|
|
|
|
|
|
inputs:
|
|
|
|
- name: repo
|
|
|
|
path: .
|
|
|
|
|
|
|
|
params:
|
|
|
|
GO111MODULE: "on"
|
|
|
|
CGO_ENABLED: "1"
|
2023-01-31 20:18:59 +00:00
|
|
|
GOMEMLIMIT: "1150MiB"
|
2023-01-30 21:06:18 +00:00
|
|
|
GITEA_TOKEN: ((gitea-credentials.token))
|
|
|
|
|
2023-01-31 20:18:59 +00:00
|
|
|
container_limits:
|
|
|
|
memory: 1258291200 # 1200MB
|
|
|
|
|
2023-01-30 21:06:18 +00:00
|
|
|
run:
|
|
|
|
path: bash
|
|
|
|
args:
|
|
|
|
- -ce
|
|
|
|
- |
|
2023-01-31 20:14:34 +00:00
|
|
|
go run gotest.tools/gotestsum@latest -f pkgname-and-test-fails -- -race -shuffle=on ./...
|