File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ jobs:
10
10
test :
11
11
strategy :
12
12
matrix :
13
- go-version : [1.19.x, 1. 20.x]
13
+ go-version : [1.20.x]
14
14
os : [ubuntu-latest, macos-latest, windows-latest]
15
15
runs-on : ${{ matrix.os }}
16
16
steps :
17
17
- name : Install Go
18
18
uses : actions/setup-go@v3
19
19
with :
20
20
go-version : ${{ matrix.go-version }}
21
+ - if : matrix.os == 'windows-latest'
22
+ run : |
23
+ Choco-Install -PackageName mingw -ArgumentList "--version","10.2.0","--allow-downgrade"
21
24
- name : Install staticcheck
22
25
if : matrix.platform != 'windows-latest'
23
26
run : go install honnef.co/go/tools/cmd/staticcheck@latest
35
38
if : matrix.os != 'windows-latest'
36
39
run : staticcheck ./...
37
40
- name : Test
38
- run : go test -race ./libsass -coverprofile=coverage.txt -covermode=atomic
39
- - name : Upload coverage
40
- if : success() && matrix.os == 'ubuntu-latest'
41
- run : |
42
- curl -s https://codecov.io/bash | bash
43
- env :
44
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
45
- shell : bash
41
+ run : go test -race ./libsass
You can’t perform that action at this time.
0 commit comments