Skip to content

Split out bindings to GitHub Actions toolkit as a new library #4

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

Closed
thomashoneyman opened this issue Aug 15, 2020 · 1 comment · Fixed by #8
Closed

Split out bindings to GitHub Actions toolkit as a new library #4

thomashoneyman opened this issue Aug 15, 2020 · 1 comment · Fixed by #8
Assignees
Labels
help wanted Extra attention is needed

Comments

@thomashoneyman
Copy link
Collaborator

The core of this library is built on top of the GitHub Actions toolkit, a set of libraries for executing commands within GitHub Actions. It is likely that others will want to write GitHub Actions in PureScript in the future, and these bindings are broadly useful outside this library.

Some possible actions that come to mind which could use this shared base:

  1. Automatically format code using purty
  2. Automated attempts to upgrade package sets / dependencies in PureScript repositories
  3. Automatically upload Pursuit documentation for releases which haven't been uploaded yet

All of the Actions* modules that exist in this library can be moved directly out to another package that exposes something like a set of modules named:

GitHub.Actions.ToolCache
GitHub.Actions.Cache
GitHub.Actions.GitHub
GitHub.Actions.IO
GitHub.Actions.Exec
...

which mirror the packages available in the official toolkit. The bindings weren't difficult to put together in the first place, so this shouldn't be more than a few hours' effort to set up.

@thomashoneyman thomashoneyman added the help wanted Extra attention is needed label Aug 15, 2020
@colinwahl
Copy link
Member

I talked about this a bit with @thomashoneyman, and I've started work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

Successfully merging a pull request may close this issue.

2 participants