Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cgo dependency to avoid go fmt failures #600

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

mfielding
Copy link
Contributor

The PR Check GitHub Action runs go fmt and then builds and unit tests. But the go fmt run is currently failing with the error message:

package github.com/sijms/go-ora/examples/kerberos: C++ source files not allowed when not using cgo or SWIG: kerberos.cpp

This change adds a dummy cgo dependency in the example to make this error go away and unblock the PR checks. The PR checks will continue failing for now, however, because some unit tests themselves are failing.

The `PR Check` GitHub Action runs `go fmt` and then builds and unit tests.  But the `go fmt` run is currently failing with the error message:

```
package github.com/sijms/go-ora/examples/kerberos: C++ source files not allowed when not using cgo or SWIG: kerberos.cpp
```

This change adds a dummy cgo dependency in the example to make this error go away and unblock the PR checks.  The PR checks will continue failing for now, however, because some unit tests themselves are failing.
@sijms sijms merged commit 8e3e994 into sijms:master Oct 7, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants