goveal/.concourse/tasks/test.yml
Peter Kurfer 03a9ec64ab
All checks were successful
concourse-ci/golangci-lint golangci-lint run
concourse-ci/gotestsum gotestsum
fix(ci): execute tests with task
2023-01-01 13:53:55 +01:00

26 lines
488 B
YAML

---
platform: linux
image_resource:
type: registry-image
source:
repository: docker.io/golang
tag: 1.19-buster
inputs:
- name: repo
path: .
params:
GO111MODULE: "on"
CGO_ENABLED: "1"
GITEA_TOKEN: ((gitea-credentials.token))
run:
path: bash
args:
- -ce
- |
go install gotest.tools/gotestsum@latest
curl -L https://github.com/go-task/task/releases/latest/download/task_linux_amd64.tar.gz | tar -xvz -C /usr/local/bin task
task test