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:
1010 test :
1111 strategy :
1212 matrix :
13- go-version : [1.19.x, 1. 20.x]
13+ go-version : [1.20.x]
1414 os : [ubuntu-latest, macos-latest, windows-latest]
1515 runs-on : ${{ matrix.os }}
1616 steps :
1717 - name : Install Go
1818 uses : actions/setup-go@v3
1919 with :
2020 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"
2124 - name : Install staticcheck
2225 if : matrix.platform != 'windows-latest'
2326 run : go install honnef.co/go/tools/cmd/staticcheck@latest
3538 if : matrix.os != 'windows-latest'
3639 run : staticcheck ./...
3740 - 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