aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
blob: ae5ed41320660f7eb417a63605248c7e1f6da250 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: alpine:3.22
packages:
  - curl
  - go
secrets:
  - dc983e78-134b-4b7e-ac00-cb89a374a699
sources:
  - git://git.sr.ht/~eugenetriguba/checkmate
tasks:
  - setup: |
      cd checkmate
      go version
  - test: |
      cd checkmate
      go test -race -coverprofile=coverage.out -covermode=atomic ./...
  - coverage: |
      cd checkmate
      curl -Os https://uploader.codecov.io/latest/alpine/codecov
      chmod +x codecov
      ./codecov -f coverage.out -t "$CODECOV_TOKEN"