File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+ # Limit one unit test job running per PR/Branch
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+ # For example, if you push multiple commits to a pull request in quick succession, only the latest workflow run will continue
12+ cancel-in-progress : true
13+ env :
14+ GOPROXY : https://proxy.golang.org
15+ GO_VERSION : ' 1.24.0'
16+ permissions :
17+ contents : read
18+ jobs :
19+ unit_test :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
23+ - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
24+ with :
25+ go-version : ${{env.GO_VERSION}}
26+ cache : true
27+ - name : Download Dependencies
28+ run : go mod download
29+ - name : unit test
30+ timeout-minutes : 5
31+ env :
32+ TESTSUITE : lintall
33+ run : make test
34+ continue-on-error : false
35+
You can’t perform that action at this time.
0 commit comments