feat(games): add world-cup example with justfile-driven CI#610
Merged
Conversation
|
Too many files changed for review. ( |
Add the World Cup bracket-prediction game as a self-contained example under a new games/ category: a Pinocchio program with Codama-generated TypeScript/Rust clients, LiteSVM integration tests, and a webapp shell. It pins its own toolchain in a nested workspace, so it is excluded from the root Cargo workspace, the legacy pinocchio CI (.ghaignore), and root Biome. A new just.yml workflow discovers justfile-driven examples and runs their setup/build/test recipes. Co-authored-by: jo <17280917+dev-jodee@users.noreply.github.com>
3d2a8bf to
50ad179
Compare
dev-jodee
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the World Cup bracket-prediction game as a self-contained example under a new
games/category.world-cup-program):init_config,submit_bracket,lock,post_result,post_goals,refresh_score,finalize,claim,close_bracket.@solana/world-cup) and Rust.Why it's structured differently
It pins its own toolchain (
pinocchio 0.11.1, codama, token-2022) in a nested workspace, so it stays out of the root Cargo workspace, the legacy pinocchio CI (.ghaignore), and root Biome.New CI:
.github/workflows/just.ymlDiscovers examples by the presence of a
justfileand runsjust setup → check-generated → build → teston Solana stable. Skip list:.github/.justignore. This is intended as the pattern for future self-contained examples.Notes
.soartifacts are gitignored and regenerated from the committed IDL.