~mna/snow unlisted

snow/.builds/arch.yml -rw-r--r-- 738 bytes
424066c5Martin Angers doc: v0.0.5 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
image: archlinux
packages:
  - go

secrets:
  - b1f03b1b-622d-4599-be6d-128c7516386b
  - 141f4c1f-6658-48c6-80ca-e7a3524680f8

sources:
  - git@git.sr.ht:~mna/snow

environment:
  GO111MODULE: "on"

tasks:
  - setup: |
      cd snow
      go version
      curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.21.0
      ./golangci-lint --version

  - test: |
      cd snow
      go test -v -vet all ./...

  - cover: |
      cd snow
      go test -cover ./...

  - race: |
      cd snow
      go test -race ./...

  - lint: |
      cd snow 
      ./golangci-lint run

triggers:
  - condition: "failure"
    action: "email"
    to: "Martin Angers <martin.n.angers+sourcehut@gmail.com>"