Commit graph

22 commits

Author SHA1 Message Date
Jon Seager
6766aa16f2 ci: bump jdx/mise-action from v2 to v4 2026-05-22 13:18:31 +00:00
Jon Seager
616876e73f fix(ci): Install mold linker and rustfmt in deploy workflow
The Deploy workflow on main failed because .cargo/config.toml requires
the mold linker, but deploy.yml only installed lld. The earlier fix
commit only updated push.yml, missing deploy.yml.
2026-05-22 13:05:51 +00:00
Jon Seager
46b0cb67ef fix(ci): Install mold linker and rustfmt component for CI
Add mold to system deps (needed by .cargo/config.toml linker setting)
and explicitly install rustfmt/clippy components since mise-action
doesn't always install Rust components.
2026-05-22 12:51:34 +00:00
Jon Seager
74e3b600fc chore: Switch e2e tests to Chrome for Testing via mise
Replace snap-installed Chromium/chromedriver with Chrome for Testing
installed via npx @puppeteer/browsers. Binaries live in
$MISE_DATA_DIR/chrome-for-testing/ with version-agnostic path lookup.

Add install-e2e mise task and required apt packages to README and CI.
2026-05-22 12:03:03 +01:00
Jon Seager
527358b695 chore: migrate from Nix to mise for dev environment management
Replace Nix flake with mise for toolchain management, treefmt for
formatting, prek for pre-commit hooks, and a Dockerfile for container
builds. Update CI workflows to use jdx/mise-action instead of Nix.

Add system dependency instructions to README.md and CLAUDE.md.
2026-05-22 12:03:03 +01:00
Jon Seager
edffb1679d
chore: update dependencies (#15)
* build(deps): bump actions/cache from 4 to 5

Bump the actions-deps group.

* build(deps): bump cargo-deps group (anyhow, chrono, clap, uuid, tempfile)

- anyhow 1.0.101 → 1.0.102
- chrono 0.4.43 → 0.4.44
- clap 4.5.57 → 4.5.60
- uuid 1.20.0 → 1.21.0
- tempfile 3.24.0 → 3.25.0

* build(deps): bump sqlx from 0.7.4 to 0.8.6

* build(deps): bump rand from 0.8.5 to 0.9.2

Migrate API changes:
- Replace OsRng.fill_bytes() with rand::rng().fill_bytes()
- Replace rand::thread_rng() with rand::rng()

* build(deps): bump thiserror from 1.0.69 to 2.0.18
2026-03-05 11:03:55 +00:00
Jon Seager
02235426c4
ci: speed up pipeline with cargo caching and merged jobs
Merge separate lint and test jobs into a single check job so clippy's
compilation artifacts are reused by tests. Add actions/cache for the
Cargo target directory and registry to enable incremental builds across
runs. Drop unnecessary fetch-depth: 0 from CI jobs.
2026-02-15 11:29:45 +00:00
Jon Seager
034630ade0
ci: add e2e browser test job to GitHub Actions 2026-02-10 10:45:12 +00:00
Jon Seager
8e72961f1a
ci(deploy): push latest tag to GHCR alongside commit SHA tag 2026-02-09 17:23:58 +00:00
Jon Seager
251e4aebb5
fix(ci): match docker tag to Cargo.toml version in deploy workflow
The container image is tagged with the package version from flake.nix,
not the git short hash. Read the version from Cargo.toml so the
docker tag command references the correct source image.
2026-02-06 20:16:31 +00:00
Jon Seager
2fff8e8124
ci: better CI job naming 2026-02-06 19:03:07 +00:00
Jon Seager
8a669f70d2
ci: add linting to CI 2026-02-06 19:01:28 +00:00
Jon Seager
6431d97afa
ci: remove push trigger from CI workflow
Only run CI on pull requests to main, not on direct pushes.
2026-02-06 18:58:41 +00:00
Jon Seager
4ba21269ed
ci: build the right container 2026-02-06 18:24:23 +00:00
Jon Seager
a3cf7970d1
ci: split CI and deploy into separate workflows
Move test running to a dedicated push.yml workflow that triggers on both
push and PR, and restrict deploy.yml to push-to-main only.
2026-02-06 18:08:18 +00:00
Jon Seager
1bcadf1d3e
ci: don't build twice in the test phase 2026-02-06 17:57:47 +00:00
Jon Seager
d35e1792da
ci: update to latest github checkout action 2026-02-06 17:35:26 +00:00
Jon Seager
90d4b5eb74
ci: initialise ci configuration 2026-02-06 17:17:02 +00:00
Jon Seager
bd3e5df7ce
docs: drop copilot-instructions.md - CLAUDE.md is much more detailed 2026-02-06 17:07:22 +00:00
Jon Seager
53308fc685
chore: update copliot instructions 2025-11-25 21:42:20 +00:00
Jon Seager
5aaeaa55c2
chore: update copliot instructions 2025-11-25 11:29:03 +00:00
Jon Seager
5961aee6c2
chore: add copilot-instructions.md 2025-11-24 16:37:10 +00:00