mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Cirrus CI runs golangci-lint, which is often way too noisy with false positives and irrelevant checks. Last one was errcheck on http.ResponseWriter.Write, but there have been others before. Disable it for now, since it doesn't add enough value to justify the introduced friction.
19 lines
530 B
YAML
19 lines
530 B
YAML
# Configuration for https://cirrus-ci.org/
|
|
|
|
env:
|
|
GOPROXY: https://proxy.golang.org
|
|
|
|
# Run go tests under a FreeBSD VM.
|
|
# Note that by default it is run as root, which causes the tests to fail since
|
|
# they expect to get permission denied on some cases, so we create a separate
|
|
# user and use that instead.
|
|
freebsd_task:
|
|
name: Go tests (FreeBSD)
|
|
freebsd_instance:
|
|
image_family: freebsd-13-0-snap
|
|
install_script: |
|
|
pkg install -y lang/go
|
|
pw useradd testing -m
|
|
test_script: |
|
|
su testing -c "go test ./..."
|