]> ruderich.org/simon Gitweb - safcm/safcm.git/blob - ci/run
Makefile: set -race via GOFLAGS= variable
[safcm/safcm.git] / ci / run
1 #!/bin/sh
2
3 set -eu
4 set -x
5
6
7 PATH=$HOME/go/bin:$PATH
8 export PATH
9
10 make
11 make test
12
13 # Strict umask
14 umask 077
15 rm -rf *
16 git checkout .
17 make
18 make test
19
20 # Additional static checks only run in CI
21 go get honnef.co/go/tools/cmd/staticcheck
22 staticcheck ./...