aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-21 13:38:02 +0800
committerGravatar Runxi Yu2026-02-21 14:28:15 +0800
commit94482cb2c97aa215f83940643c5d4c0933727dcb (patch)
treebee22fa113542abd1b863ee251fdcf0f9bd409b5 /.builds
parentdiff: Add package-level doc comment (diff)
signatureNo signature
*: Modernize and lint; add CI v0.1.17
Diffstat (limited to '.builds')
-rw-r--r--.builds/alpine.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 00000000..752a60c0
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,27 @@
+image: alpine/edge
+packages:
+ - go
+ - git
+ - golangci-lint
+tasks:
+ - build: |
+ cd furgit
+ go build ./...
+ - test: |
+ cd furgit
+ go test -v ./...
+ - test-race: |
+ cd furgit
+ go test -race -v ./...
+ - test-purego: |
+ cd furgit
+ go test -v -tags purego ./...
+ - lint: |
+ cd furgit
+ golangci-lint run ./...
+ - vet: |
+ cd furgit
+ go vet ./...
+ - fmt-check: |
+ cd furgit
+ test -z "$(gofmt -l .)"