Skip to content

Commit 682c3f6

Browse files
committed
all: Run gofmt -s -w .
1 parent 26af46c commit 682c3f6

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ jobs:
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
@@ -34,6 +32,7 @@ jobs:
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

internal/libsass/a__cgo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
5-
//
65
package libsass
76

87
// #cgo CFLAGS: -O2 -fPIC

internal/libsass/a__importer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
5-
//
65
package 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
3838
func AddImportResolver(opts SassOptions, resolver ImportResolver) int {
3939
i := importsStore.Set(resolver)

internal/libsass/a__libsass.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
5-
//
65
package libsass
76

87
// #include "stdlib.h"

internal/libsass/a__types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
5-
//
65
package libsass
76

87
// #include "stdint.h"

0 commit comments

Comments
 (0)