shithub: furgit

ref: 1e2daa32b76bf6a04a01f52e2671755d8611f363
dir: /.builds/alpine.yml/

View raw version
image: alpine/edge
packages:
  - go
  - git
  - golangci-lint
tasks:
  - apk: |
      sudo apk update
      sudo apk upgrade
  - 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 .)"