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 19
19
with :
20
20
go-version : ${{ matrix.go-version }}
21
21
- name : Install staticcheck
22
+ if : matrix.platform != 'windows-latest'
22
23
run : go install honnef.co/go/tools/cmd/staticcheck@latest
23
24
shell : bash
24
- - name : Install golint
25
- run : go install golang.org/x/lint/golint@latest
26
- shell : bash
27
25
- name : Update PATH
28
26
run : echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
29
27
shell : bash
34
32
run : " diff <(gofmt -d .) <(printf '')"
35
33
shell : bash
36
34
- name : Staticcheck
35
+ if : matrix.os != 'windows-latest'
37
36
run : staticcheck ./...
38
37
- name : Test
39
38
run : go test -race ./libsass -coverprofile=coverage.txt -covermode=atomic
Original file line number Diff line number Diff line change 2
2
//
3
3
// Use of this source code is governed by an MIT-style
4
4
// license that can be found in the LICENSE file.
5
- //
6
5
package libsass
7
6
8
7
// #cgo CFLAGS: -O2 -fPIC
Original file line number Diff line number Diff line change 2
2
//
3
3
// Use of this source code is governed by an MIT-style
4
4
// license that can be found in the LICENSE file.
5
- //
6
5
package libsass
7
6
8
7
// #include <stdint.h>
@@ -34,6 +33,7 @@ var importsStore = &idMap{
34
33
35
34
// AddImportResolver adds a function to resolve imports in LibSASS.
36
35
// Make sure to run call DeleteImportResolver when done.
36
+ //
37
37
//go:nocheckptr
38
38
func AddImportResolver (opts SassOptions , resolver ImportResolver ) int {
39
39
i := importsStore .Set (resolver )
Original file line number Diff line number Diff line change 2
2
//
3
3
// Use of this source code is governed by an MIT-style
4
4
// license that can be found in the LICENSE file.
5
- //
6
5
package libsass
7
6
8
7
// #include "stdlib.h"
Original file line number Diff line number Diff line change 2
2
//
3
3
// Use of this source code is governed by an MIT-style
4
4
// license that can be found in the LICENSE file.
5
- //
6
5
package libsass
7
6
8
7
// #include "stdint.h"
You can’t perform that action at this time.
0 commit comments