File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - run :
3131 name : Test
3232 command : bash scripts/test.sh
33+ validate :
34+ executor : base
35+ steps :
36+ - run : sudo chown -R circleci /go/src
37+ - restore_cache :
38+ keys :
39+ - v1-go-src-{{ .Branch }}-{{ .Revision }}
40+ - run :
41+ name : Install Dig
42+ command : sudo apt update && sudo apt install dnsutils
43+ - run :
44+ name : " Update ~/.ssh/known_hosts"
45+ command : |
46+ mkdir ~/.ssh/
47+ touch ~/.ssh/known_hosts
48+ for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts
49+ - run : go get github.com/spatialcurrent/go-header/...
50+ - run : go install github.com/spatialcurrent/go-header/cmd/goheader
51+ - run : goheader fix --fix-year 2019 --exit-code-on-changes 1 --verbose
3352 build_cli :
3453 executor : base
3554 steps :
@@ -73,6 +92,9 @@ workflows:
7392 - test :
7493 requires :
7594 - pre_deps_golang
95+ - validate :
96+ requires :
97+ - pre_deps_golang
7698 - build_cli :
7799 requires :
78100 - pre_deps_golang
You can’t perform that action at this time.
0 commit comments