Skip to content

stacks-network/actions

Repository files navigation

Stacks Network github actions

Monorepo of composite actions used in the stacks-network org

  • cleanup - removes unused packages/dirs from a runner, freeing around 48GB of space on a runner
  • codecov - Uploads codecov reports with a retry if it fails (optionally it can run grcov to generate a report to send)
  • openapi - Generates and uploads an OpenAPI artifact
  • docker - Generic Docker setup workflows
  • generate-checksum - Generate a 512-bit sha hash of the uploaded artifacts
  • check-jobs-status - Check the result of every job parsed as input. Only succeeds if none of the given jobs have failed.
  • rustfmt - Run rustfmt for the given codebase
  • stacks-core - actions for the stacks-core repo

Why does this exist?

Quite simply: DRY.

  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 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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published