File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 9
9
strategy :
10
10
fail-fast : false
11
11
matrix :
12
- go-version : ['1.19.x ', 'stable']
12
+ go-version : ['', 'stable']
13
13
os : [ubuntu-latest, windows-latest, macos-latest]
14
14
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
with :
18
18
persist-credentials : false
19
- - uses : WillAbides /setup-go-faster@v1
19
+ - uses : actions /setup-go@v5
20
20
with :
21
21
go-version : ${{ matrix.go-version }}
22
+ go-version-file : ' go.mod'
22
23
23
24
- name : Get dependencies
24
25
run : >-
31
32
libx11-dev
32
33
libxkbcommon-dev
33
34
xorg-dev
34
- xvfb
35
35
if : ${{ runner.os == 'Linux' }}
36
36
37
37
- name : Tests
38
- run : go test "-test.benchtime" 10ms -tags ci ./...
38
+ run : go test -tags ci ./...
Original file line number Diff line number Diff line change 13
13
- uses : actions/checkout@v4
14
14
with :
15
15
persist-credentials : false
16
- - uses : WillAbides /setup-go-faster@v1
16
+ - uses : actions /setup-go@v5
17
17
with :
18
18
go-version : ' stable'
19
19
@@ -27,13 +27,12 @@ jobs:
27
27
libgles2-mesa-dev
28
28
libx11-dev
29
29
xorg-dev
30
- xvfb
31
30
32
31
- name : Install analysis tools
33
32
run : |
34
33
go install golang.org/x/tools/cmd/goimports@latest
35
34
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
36
- go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
35
+ go install honnef.co/go/tools/cmd/staticcheck@latest
37
36
go install github.com/mattn/goveralls@latest
38
37
39
38
- name : Vet
You can’t perform that action at this time.
0 commit comments