Skip to content

Commit

Permalink
github/worldflows: ignore "internal" folder on Go vet
Browse files Browse the repository at this point in the history
This prevents issuing the following error on 3rd party code:

    internal/go-ole/variant.go:15:21: possible misuse of unsafe.Pointer
    internal/go-ole/variant.go:23:22: possible misuse of unsafe.Pointer
    internal/go-ole/variant.go:33:42: possible misuse of unsafe.Pointer
  • Loading branch information
leonklingele committed May 17, 2023
1 parent b82cfb7 commit b8bbdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint_go-vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
go-version: '1.20.x'
- uses: actions/checkout@v3
- name: go-vet
run: go vet -v ./...
run: go vet -v $(go list ./... | grep -v internal)

0 comments on commit b8bbdd4

Please sign in to comment.