A collection of reusable GitHub Actions workflows and actions for Ray's projects.
Adapted from sxzz/workflows
- Standardized CI/CD workflows for testing, building, and releasing
- Easy integration into any TypeScript or Rust repository
- Includes custom actions for setup and automation
- Conventional CI: Runs typecheck, lint, and tests with configurable Node.js versions
- autofix.ci: Automatically fixes code style issues via a commit
- Release: Publishes releases to npm/JSR
- Release to JSR: Publishes releases specifically to JSR
- Release Commit to pkg.pr.new: Releases any commit as a package to pkg.pr.new
- Lock Threads: Automatically locks closed issues after a period of inactivity
- Upload code coverage to Codecov: Uploads code coverage reports to Codecov
- Rust CI: Runs rustfmt, clippy, and tests with configurable toolchain
- Rust Release: Publishes releases using release-plz
- Rust autofix.ci: Automatically fixes code style issues via a commit
To use a workflow, reference it in your project’s .github/workflows/*.yml:
# Example: Conventional CI
jobs:
ci:
uses: so1ve/workflows/.github/workflows/conventional-ci.yml@v1Rust CI and Rust Release can run arbitrary caller-defined setup steps. Create a composite action in the caller repository, then pass its directory through the setup input:
jobs:
ci:
uses: so1ve/workflows/.github/workflows/rust-ci.yml@v1
with:
setup: .github/actions/setup-rust-ciSee the example workflow configurations in the examples/ folder:
- Conventional CI
- autofix.ci
- Release
- Release Commit to pkg.pr.new
- Lock Threads
- Upload code coverage to Codecov
For more details, see the workflow definitions in the .github/workflows/ folder.
setup-js/action.yml: Sets up Node.js and installs dependenciessetup-rust/action.yml: Sets up Rust toolchain with cargo cache