File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,5 +7,9 @@ version: 2
77updates :
88- package-ecosystem : gomod
99 directory : /script
10+ schedule :
11+ interval : weekly
12+ - package-ecosystem : github-actions
13+ directory : /
1014 schedule :
1115 interval : weekly
Original file line number Diff line number Diff line change 1+ name : " Unit Test"
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : ["*"]
8+ merge_group :
9+
10+ jobs :
11+ go-test :
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest]
15+ runs-on : ${{ matrix.os }}
16+ permissions :
17+ contents : read
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
22+ - name : Install Go
23+ uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
24+ with :
25+ go-version-file : script/go.mod
26+ - name : Go Test (script)
27+ run : |
28+ cd script
29+ go test -v -race ./...
30+ - name : Go Test (tests)
31+ run : |
32+ cd tests
33+ go test -v -race ./...
You can’t perform that action at this time.
0 commit comments