File tree Expand file tree Collapse file tree 5 files changed +28
-34
lines changed
Expand file tree Collapse file tree 5 files changed +28
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Assets
2+ on : [push, pull_request]
3+ jobs :
4+ check-assets :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+ - name : Setup node
9+ uses : actions/setup-node@v4
10+ with :
11+ node-version-file : internal/static/.nvmrc
12+ - run : npm install
13+ - run : npm run build
14+ - run : ./internal/static/scripts/diff.sh
Original file line number Diff line number Diff line change 11on : [push]
22name : Coverage
33jobs :
4- run :
4+ coverage :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
8- - uses : actions/setup-go@v3
7+ - uses : actions/checkout@v4
8+ - uses : actions/setup-go@v5
99 with :
10- go-version : 1.21.x
10+ go-version-file : go.mod
1111 - run : go test -coverprofile=coverage.txt
1212 - name : Upload coverage to Codecov
1313 uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 11on : [push, pull_request]
22name : Tests-linux
33jobs :
4- test :
4+ tests-linux :
55 strategy :
66 matrix :
7- go-version : [1.20 .x, 1.21 .x]
7+ go-version : [1.22 .x, 1.23 .x]
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v3
11- - uses : actions/setup-go@v3
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-go@v5
1212 with :
13- go-version : ${{ matrix.go-version }}
13+ go-version-file : go.mod
1414 - name : go mod tidy check
15- run : .github/scripts/modtidy-check.sh
15+ run : go mod tidy -diff
1616 - name : Tests
1717 run : go test -race -shuffle=on ./...
Original file line number Diff line number Diff line change 11on : [pull_request]
22name : Tests-others
33jobs :
4- test :
4+ tests-macos-windows :
55 strategy :
66 matrix :
77 os : [macos-latest, windows-latest]
88 runs-on : ${{ matrix.os }}
99 steps :
10- - uses : actions/checkout@v3
11- - uses : actions/setup-go@v3
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-go@v5
1212 with :
13- go-version : 1.21.x
13+ go-version-file : go.mod
1414 - name : Tests
1515 run : go test -race -shuffle=on ./...
You can’t perform that action at this time.
0 commit comments