gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source.
https://gno.land/
Other
880 stars 364 forks source link

CI: detect outdated docs' examples #2532

Open moul opened 2 months ago

moul commented 2 months ago

We have gno files in docs/assets/**/*.gno. These files should be tested with CI to ensure the documentation always provides working examples.

Add cd docs; make test.

Example: https://github.com/gnolang/gno/pull/2529#issuecomment-2212412478 Related: #2534 (but addressing another similar need)

thehowl commented 2 months ago

see-also #2357 -- #2245

moul commented 1 month ago

@aeddi