bgamari / dhall-gitlab-ci

A Dhall encoding of the GitLab CI configuration schema
BSD 3-Clause "New" or "Revised" License
46 stars 19 forks source link

📝 Add Examples & Verify with Actions #7

Closed krakrjak closed 3 years ago

krakrjak commented 3 years ago

While learning dhall and this library I found that it took me forever to figure out how to make even basic multiple job templates. With these changes I borrowed the single-job definition from the project linked in the README. I've added my version of a multiple jobs example to help others that might need a little push in the right direction.

The README has been updated to add references to the examples and their source code has been included as well. I think this could really aide in helping people getting up to speed.

Finally I added some GitHub actions to process the examples. It's like the beginning of tests :)

bgamari commented 3 years ago

Looks good to me. Thanks!