-
Notifications
You must be signed in to change notification settings - Fork 0
feat: static generated library #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
+ { | ||
job+: { | ||
steps:: {}, | ||
step: (super.steps + { '#'+: { name: 'step' } }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed that this doesn't work with the language server. 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started a PR with testcases for this here: grafana/jsonnet-language-server#144
Have you found a use for jsonnet -> github actions workflows? I have made some fairly complex workflows in GHA and haven't found the need yet. The matrix feature is pretty powerful. Drone needed it because the matrix stuff was terrible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generates another static version of this library following the pattern I've used successfully in other libraries.
It doesn't include the
reusableWorkflowCallJob
part, not sure yet what that is used for. I'm new to GitHub Actions.The generator depends on crdsonnet/crdsonnet#24