File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 55 branches : [main]
66
77jobs :
8- test :
8+ validate :
9+ name : ' Code is clean'
910 runs-on : ubuntu-latest
1011
1112 if : github.event_name == 'pull_request'
@@ -14,18 +15,15 @@ jobs:
1415 with :
1516 ref : ${{ github.ref }}
1617
17- - run : ./scripts/ci/prepare_linux.sh
18- - run : go test -race -cover
18+ - uses : actions/setup-go@v3
19+ with :
20+ check-latest : true
1921 - run : yarn
2022 - run : yarn fmt
2123 - run : ./scripts/fail_on_diff.sh
22- # Test examples
23- - run : go run main.go
24- working-directory : ./examples/connecthook
25- - run : go run main.go
26- working-directory : ./examples/basic
2724
2825 tests :
26+ name : ' Run tests'
2927 runs-on :
3028 - ubuntu-latest
3129 - windows-latest
4139 check-latest : true
4240 - run : go build
4341 - run : go test -race -cover
42+ # Test examples
43+ - run : go run main.go
44+ working-directory : ./examples/connecthook
45+ - run : go run main.go
46+ working-directory : ./examples/basic
You can’t perform that action at this time.
0 commit comments