| Crates.io | cheapskate-ci |
| lib.rs | cheapskate-ci |
| version | 0.1.9 |
| created_at | 2018-07-22 01:55:44.495501+00 |
| updated_at | 2025-03-12 22:54:57.332219+00 |
| description | CLI for those who are too cheap to pay for CI but still want required GitHub status checks. Now they can run this locally. |
| homepage | |
| repository | https://github.com/maxjacobson/cheapskate-ci |
| max_upload_size | |
| id | 75432 |
| size | 63,093 |
Run your CI locally.
cargo install cheapskate-ci, orcargo install --path .Create a cheapskate-ci.toml in the root of your project.
See cheapskate-ci.toml for an example.
Example pre-commit hook (to make sure all commits are passing):
#!/bin/sh
cheapskate-ci run
There's no post-push hook, unfortunately, so after pushing you'll want to manually run:
cheapskate-ci run --status
Which will again run the steps, and then send a successful commit status to GitHub.
Note: the first time you run this, it will prompt you for a GitHub token.
You'll need to generate one with the repo:status scope and paste it in.
That token will be cached in ~/.local/share/cheapskate-ci/psst.toml going forward.
cheapskate-ci run --statusgit merge --ff-only -If you use a pull request flow, you can do the same thing, but just open and merge the PR instead of merging locally.