https://github.com/stacks-network/actions
https://github.com/stacks-network/actions
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stacks-network/actions
- Owner: stacks-network
- License: mit
- Created: 2023-10-23T23:45:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-13T23:04:26.000Z (8 months ago)
- Last Synced: 2024-11-13T23:29:52.677Z (8 months ago)
- Language: JavaScript
- Size: 529 KB
- Stars: 0
- Watchers: 11
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Stacks Network github actions
Monorepo of [composite actions](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action) used in the [stacks-network](https://github.com/stacks-network) org
- [cleanup](./cleanup) - removes unused packages/dirs from a runner, freeing around 48GB of space on a runner
- [codecov](./cleanup) - Uploads codecov reports with a retry if it fails (optionally it can run grcov to generate a report to send)
- [openapi](./cleanup) - Generates and uploads an [OpenAPI](https://spec.openapis.org/oas/latest.html) artifact
- [docker](./docker) - Generic Docker setup workflows
- [generate-checksum](./generate-checksum/) - Generate a 512-bit `sha` hash of the uploaded artifacts
- [check-jobs-status](./check-jobs-status/) - Check the result of every job parsed as input. Only succeeds if none of the given jobs have failed.
- [rustfmt](./rustfmt) - Run rustfmt for the given codebase
- [stacks-core](./stacks-core/) - actions for the [stacks-core](https://github.com/stacks-network/stacks-core) repo## Why does this exist?
Quite simply: [**DRY**](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself).
1. Steps used across several workflows were basically all copy/pasted, requiring a search/replace when an update was needed (i.e. updating the version).
2. There was a specific issue with free disk space on a runner VM, and some steps were added to a workflow to address it - only to have the same issue reoccur in another workflow.
3. Repeatability and shareability - as more projects are added to the [stacks-network](https://github.com/stacks-network) org, they can all benefit from using commonly defined composite actions, as opposed to every repo doing it differently (maintenance moves from every repo to a single repo).## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md)