File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test
2+ on : [push, pull_request]
3+
4+ permissions :
5+ contents : read
6+
7+ jobs :
8+ test :
9+ strategy :
10+ matrix :
11+ go-version : [1.18.x, 1.19.x]
12+ os : [ubuntu-latest, windows-latest, macos-latest]
13+ runs-on : ${{ matrix.os }}
14+ timeout-minutes : 10
15+ steps :
16+ - uses : actions/setup-go@v3
17+ with :
18+ go-version : ${{ matrix.go-version }}
19+ - uses : actions/checkout@v3
20+ - name : Test
21+ run : go test -v ./...
Original file line number Diff line number Diff line change 1+ name : validate
2+ on : [push, pull_request]
3+
4+ permissions :
5+ contents : read
6+
7+ jobs :
8+ linters :
9+ strategy :
10+ matrix :
11+ go-version : [1.19.x]
12+ os : [ubuntu-latest]
13+ runs-on : ${{ matrix.os }}
14+ timeout-minutes : 10
15+ steps :
16+ - uses : actions/setup-go@v3
17+ with :
18+ go-version : ${{ matrix.go-version }}
19+ - uses : actions/checkout@v3
20+ - name : lint
21+ uses : golangci/golangci-lint-action@v3
22+ with :
23+ version : v1.49
24+ args : --print-resources-usage --timeout=10m --verbose
You can’t perform that action at this time.
0 commit comments