File tree Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 go-version : ${{ matrix.go-version }}
2121 - name : Install staticcheck
22+ if : matrix.platform != 'windows-latest'
2223 run : go install honnef.co/go/tools/cmd/staticcheck@latest
2324 shell : bash
24- - name : Install golint
25- run : go install golang.org/x/lint/golint@latest
26- shell : bash
2725 - name : Update PATH
2826 run : echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
2927 shell : bash
3432 run : " diff <(gofmt -d .) <(printf '')"
3533 shell : bash
3634 - name : Staticcheck
35+ if : matrix.os != 'windows-latest'
3736 run : staticcheck ./...
3837 - name : Test
3938 run : go test -race ./libsass -coverprofile=coverage.txt -covermode=atomic
Original file line number Diff line number Diff line change 22//
33// Use of this source code is governed by an MIT-style
44// license that can be found in the LICENSE file.
5- //
65package libsass
76
87// #cgo CFLAGS: -O2 -fPIC
Original file line number Diff line number Diff line change 22//
33// Use of this source code is governed by an MIT-style
44// license that can be found in the LICENSE file.
5- //
65package libsass
76
87// #include <stdint.h>
@@ -34,6 +33,7 @@ var importsStore = &idMap{
3433
3534// AddImportResolver adds a function to resolve imports in LibSASS.
3635// Make sure to run call DeleteImportResolver when done.
36+ //
3737//go:nocheckptr
3838func AddImportResolver (opts SassOptions , resolver ImportResolver ) int {
3939 i := importsStore .Set (resolver )
Original file line number Diff line number Diff line change 22//
33// Use of this source code is governed by an MIT-style
44// license that can be found in the LICENSE file.
5- //
65package libsass
76
87// #include "stdlib.h"
Original file line number Diff line number Diff line change 22//
33// Use of this source code is governed by an MIT-style
44// license that can be found in the LICENSE file.
5- //
65package libsass
76
87// #include "stdint.h"
You can’t perform that action at this time.
0 commit comments