Skip to content

ci: add GitHub Actions workflows for lints, tests, conventional commits, and docs - #10

Merged
shadaj merged 1 commit into
mainfrom
sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9
Jun 9, 2026
Merged

shadaj merged 1 commit into
mainfrom
sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9

Conversation

@shadaj

@shadaj shadaj commented Jun 8, 2026

Copy link
Copy Markdown
Member

Added four workflow/action files modeled after hydro-project/hydro:

  • .github/actions/use-sccache/action.yml — composite action enabling sccache
    with GHA cache backend for Rust compilation caching.

  • .github/workflows/ci.yml — runs on push to main, PRs, and manual dispatch.
    Two jobs: lint (fmt, clippy, license/THIRD-PARTY check via
    generate-third-party.sh) and test (cargo test). Both use sccache and
    skip-duplicate-actions. Node.js is set up in lint for the npm license checker.

  • .github/workflows/conventional_commits.yml — validates PR titles match
    conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
    revert) using amannn/action-semantic-pull-request.

  • .github/workflows/docs.yml — builds the documentation site by installing
    infinity-ui deps then docs deps and running npm run build in docs/.

Co-authored-by: Infinity 🤖 infinity@hydro.run

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 8, 2026 •

Copy link
Copy Markdown

Deploying infinity with  Cloudflare Pages  Cloudflare Pages

Latest commit: b6e47b0
Status: ✅  Deploy successful!
Preview URL: https://e0fde480.infinity-dc7.pages.dev
Branch Preview URL: https://sandbox-1b5b1d88-cbff-42c4-8.infinity-dc7.pages.dev

View logs

shadaj added a commit that referenced this pull request Jun 8, 2026
- Added `.github/actions/use-sccache/action.yml`, `.github/workflows/ci.yml`,
  `.github/workflows/conventional_commits.yml`, `.github/workflows/docs.yml`
- Ran `cargo fmt --all` to fix two formatting issues (trailing comma in
  infinity-agent-cli, import order in sandbox-core)

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from 01fc6b5 to 6504150 Compare June 8, 2026 22:05
shadaj added a commit that referenced this pull request Jun 8, 2026
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Node.js is set up in lint for the npm license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from 6504150 to 7df8eec Compare June 8, 2026 22:10
shadaj added a commit that referenced this pull request Jun 8, 2026
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from 7df8eec to a917b8d Compare June 8, 2026 22:15
shadaj added a commit that referenced this pull request Jun 8, 2026
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from a917b8d to d288f08 Compare June 8, 2026 22:22
shadaj added a commit that referenced this pull request Jun 8, 2026
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from d288f08 to 9b48a6e Compare June 8, 2026 22:24
shadaj added a commit that referenced this pull request Jun 9, 2026
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from 9b48a6e to 5e421af Compare June 9, 2026 00:23
…ts, and docs

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
PR: #10
@shadaj
shadaj force-pushed the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch from 5e421af to b6e47b0 Compare June 9, 2026 00:34
@shadaj
shadaj marked this pull request as ready for review June 9, 2026 16:53
@shadaj
shadaj requested a review from MingweiSamuel June 9, 2026 16:54
@shadaj
shadaj merged commit d6db8f8 into main Jun 9, 2026
8 checks passed
@shadaj
shadaj deleted the sandbox-1b5b1d88-cbff-42c4-8fe4-03636cf341d9 branch June 9, 2026 17:27
shadaj added a commit that referenced this pull request Jun 10, 2026
…ts, and docs (#10)

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.


PR: #10

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
shadaj added a commit that referenced this pull request Jun 10, 2026
…ts, and docs (#10)

Added four workflow/action files modeled after hydro-project/hydro:

- `.github/actions/use-sccache/action.yml` — composite action enabling sccache
  with GHA cache backend for Rust compilation caching.

- `.github/workflows/ci.yml` — runs on push to main, PRs, and manual dispatch.
  Two jobs: `lint` (fmt, clippy, license/THIRD-PARTY check via
  generate-third-party.sh) and `test` (cargo test). Both use sccache and
  skip-duplicate-actions. Installs libcap-dev and Node.js for the license checker.

- `.github/workflows/conventional_commits.yml` — validates PR titles match
  conventional commit types (feat, fix, docs, refactor, perf, test, chore, ci,
  revert) using amannn/action-semantic-pull-request.

- `.github/workflows/docs.yml` — builds the documentation site by installing
  infinity-ui deps then docs deps and running `npm run build` in docs/.
  Uses Node 22 (current LTS) since the docs SSG requires `navigator.userAgent`
  which was added in Node 21+.

Also ran `cargo fmt --all` to fix minor formatting issues.


PR: #10

Co-authored-by: Infinity 🤖 <infinity@hydro.run>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants