Commit graph

15 commits

Author SHA1 Message Date
Jon Seager
8b49d3fbfe ci: bump Docker actions to latest major versions 2026-05-22 14:59:51 +00:00
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
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
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
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