Skip to content

Add setup-deno Rust provider, packaging, docs, and CI - #1

Draft
ruehowl wants to merge 8 commits into
mainfrom
codex/create-tinx-provider-setup-deno-in-rust
Draft

ruehowl wants to merge 8 commits into
mainfrom
codex/create-tinx-provider-setup-deno-in-rust

Conversation

@ruehowl

@ruehowl ruehowl commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

Motivation

  • Provide a tinx provider that installs the Deno CLI into a tinx-managed bin directory with checksum verification and multi-arch support.
  • Add packaging and release automation so the provider can be published as an OCI artifact and referenced by tinx workspaces.

Description

  • Implement new Rust CLI setup-deno in src/main.rs that resolves versions, downloads the appropriate GitHub release zip, verifies SHA-256 via the release SHASUMS256.txt, and installs the deno binary into the configured TINX_BIN_DIR.
  • Add Cargo.toml and unit tests covering checksum lookup and version normalization, plus a LICENSE and .gitignore.
  • Add packaging and runtime metadata: packaging/Dockerfile, packaging/artifact-metadata.yaml, provider/provider.yaml, and provider/runtime-hooks.yaml and helper scripts scripts/package-oci.sh, scripts/push-oci.sh, and scripts/test-runtime.sh.
  • Add documentation and usage in README.md and an example workspace examples/workspace.tinx.yaml.
  • Add GitHub Actions CI workflow .github/workflows/ci.yml to run multi-platform builds, run cargo fmt/cargo clippy/cargo test, build multi-arch artifacts, push to GHCR on tags, and create releases.

Testing

  • Unit tests in src/main.rs were executed with cargo test --all-targets and passed.
  • CI is configured to run cargo fmt -- --check, cargo clippy --all-targets -- -D warnings, cargo test --all-targets, and cargo build --release across matrix targets. These checks are included in the added GitHub Actions workflow.`

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants