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

Use go:embed instead of go-bindata #142

Merged
merged 3 commits into from
Oct 5, 2022
Merged

Use go:embed instead of go-bindata #142

merged 3 commits into from
Oct 5, 2022

Conversation

Ph0tonic
Copy link
Contributor

@Ph0tonic Ph0tonic commented Oct 4, 2022

Fix #134

I needed to create an embed.go file inside the data folder as embed does not allow to access parent folders which is an issue to load ipa_codes.txt from the validator folder.

@bfabio
Copy link
Member

bfabio commented Oct 5, 2022

@Ph0tonic looks good to me, thanks!

Tests are failing though, not sure why but it looks like a bug of some sort in the GitHub environment. Maybe it's because we are using an old version of setup-go or golangci-lint-action.

I'm going to try and bump those to see if something changes.

@bfabio bfabio self-requested a review October 5, 2022 08:11
Copy link
Member

@bfabio bfabio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works when using go 1.18

@bfabio bfabio merged commit 8ba6758 into italia:main Oct 5, 2022
bfabio added a commit to bfabio/publiccode-parser-go that referenced this pull request Feb 18, 2023
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.

Use go:embed instead of go-bindata
2 participants