~nromdotcom/gemif

ref: e0ece7e3f32645d7d840a52aec82463f1d447e1f gemif/.build.yml -rw-r--r-- 670 bytes
e0ece7e3Norm MacLennan Add golangci-lint to ci process 1 year, 1 month 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
image: debian/testing
packages:
  - golang
  - make
  - curl
sources:
  - https://git.sr.ht/~nromdotcom/gemif
environment:
  PATH: /usr/local/bin:/usr/bin:/bin:/home/build/go/bin
secrets:
  - 86622fb8-f9da-442b-9208-318553a9a4f7
tasks:
  - setup: |
      curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.33.0
      cd gemif
      make init
  - lint: |
      cd gemif
      make nonmegalint
      make megalint
  - test: |
      cd gemif
      make test
  - build: |
      cd gemif
      make build
  - release: |
      cd gemif
      set +x
      . ~/.srht_token
      set -x
      make release