File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 11
11
# We already run the current golangci-lint in tests, but here we test
12
12
# our GitHub action with the latest stable golangci-lint.
13
13
golangci-lint :
14
- name : golangci-lint
15
14
runs-on : ubuntu-latest
16
15
steps :
17
16
- uses : actions/checkout@v2
@@ -28,20 +27,29 @@ jobs:
28
27
uses : actions/setup-go@v2
29
28
with :
30
29
go-version : 1.14 # test only the latest go version to speed up CI
31
- - name : Run tests on Windows
30
+ - name : Run tests
32
31
run : make.exe test
33
32
continue-on-error : true
33
+ tests-on-macos :
34
+ needs : golangci-lint # run after golangci-lint action to not produce duplicated errors
35
+ runs-on : macos-latest
36
+ steps :
37
+ - uses : actions/checkout@v2
38
+ - name : Install Go
39
+ uses : actions/setup-go@v2
40
+ with :
41
+ go-version : 1.14 # test only the latest go version to speed up CI
42
+ - name : Run tests
43
+ run : make test
44
+ continue-on-error : true
34
45
tests-on-unix :
35
46
needs : golangci-lint # run after golangci-lint action to not produce duplicated errors
36
- runs-on : ${{ matrix.os }}
47
+ runs-on : ubuntu-latest
37
48
strategy :
38
49
matrix :
39
50
golang :
40
51
- 1.13
41
52
- 1.14
42
- os :
43
- - ubuntu-latest
44
- # don't enable mac os because it's machines are very slow
45
53
steps :
46
54
- uses : actions/checkout@v2
47
55
- name : Install Go
54
62
key : ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
55
63
restore-keys : |
56
64
${{ runner.os }}-go-${{ matrix.golang }}-
57
- - name : Run tests on Unix-like operating systems
65
+ - name : Run tests
58
66
run : make test
59
67
check_generated :
60
68
needs : golangci-lint # run after golangci-lint action to not produce duplicated errors
You can’t perform that action at this time.
0 commit comments