Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

ci: add check to ensure generated files are up-to-date #41

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

guseggert
Copy link
Contributor

The tests for this should fail, because the generated code is out-of-date. I'll follow up with a fix for that, but it's useful for it to fail here, to demonstrate that it works.

@guseggert
Copy link
Contributor Author

Just noticed that this won't work for now because the edelweiss output is not deterministic (the import names change)

@guseggert
Copy link
Contributor Author

guseggert commented Aug 31, 2022

This is due to https://github.com/ipld/edelweiss/blob/b072474ae32909c6e0c4e96a44ad5aefc037c068/codegen/blueprint.go#L49-L58, which is iterating over a map which has non-deterministic order

@guseggert
Copy link
Contributor Author

ipld/edelweiss#57

@guseggert guseggert merged commit 61daae7 into main Aug 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant