File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test goeql
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - .github/workflows/test-goeql.yml
8+ - languages/go/goeql/**
9+ pull_request :
10+ branches : [ main ]
11+ paths :
12+ - .github/workflows/test-goeql.yml
13+ - languages/go/goeql/**
14+
15+ jobs :
16+
17+ test :
18+ name : Run test suite
19+ runs-on : ubuntu-latest
20+ steps :
21+
22+ - uses : actions/checkout@v4
23+ - uses : actions/setup-go@v5
24+ with :
25+ go-version-file : languages/go/goeql/go.mod
26+ cache-dependency-path : |
27+ languages/go/goeql/go.mod
28+
29+ - name : Get dependencies
30+ run : |
31+ go get -v -t -d ./...
32+ make cidep
33+ working-directory : languages/go/goeql/
34+
35+ - name : Test
36+ run : |
37+ make test
38+ working-directory : languages/go/goeql/
Original file line number Diff line number Diff line change 1+ all : test
2+
3+ test : gotest goerrcheck gostaticcheck
4+
5+ cidep :
6+ go install honnef.co/go/tools/cmd/staticcheck@latest
7+ go install github.com/kisielk/errcheck@latest
8+
9+ gotest :
10+ go test ./... -v -timeout=45s -failfast
11+
12+ goerrcheck :
13+ errcheck -exclude .errcheck-excludes -ignoretests ./...
14+
15+ gostaticcheck :
16+ staticcheck ./...
You can’t perform that action at this time.
0 commit comments