https://pantsbuild.org/ logo
#general
Title
# general
c

curved-television-6568

12/29/2022, 9:13 PM
I recently found out about https://cuelang.org/ and like it a lot. Planning on adding support for it in Pants. Now, my idea as a first primary use for cue is to make github actions more manageable. After toying with it locally (including writing a github action cue package) I found out it already exists, example use here: https://github.com/cue-lang/setup-cue/blob/main/workflows.cue implementation here: https://github.com/cue-lang/setup-cue/blob/main/cue.mod/pkg/json.schemastore.org/github/github-workflow.cue
👀 3
Is this something we’d potentially want to use also for the Pants workflows (as a replacement for the
generate_github_workflows.py
helper script)?
g

green-beach-86026

01/09/2023, 6:11 AM
I came across something similar during this holiday break: Nickel - I've only skimmed its docs, so I'm not sure how well it fits the use cases for GHA, but it has nice comparison tables / write-ups that include CUE https://github.com/tweag/nickel#comparison https://github.com/tweag/nickel/blob/master/RATIONALE.md
👀 1
6 Views