go-mail/.cirrus.yml

29 lines
728 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev>
#
# SPDX-License-Identifier: CC0-1.0
2022-03-05 12:13:46 +01:00
container:
image: golang:latest
env:
GOPROXY: https://proxy.golang.org
lint_task:
name: GolangCI Lint
container:
image: golangci/golangci-lint:latest
run_script: golangci-lint run -v --timeout 5m0s --out-format json > lint-report.json
always:
golangci_artifacts:
path: lint-report.json
type: text/json
format: golangci
build_task:
modules_cache:
fingerprint_script: cat go.sum
folder: $GOPATH/pkg/mod
get_script: go get github.com/wneessen/go-mail
build_script: go build github.com/wneessen/go-mail
2022-03-16 21:06:12 +01:00
test_script: go test -race -v -cover github.com/wneessen/go-mail/...