Commit Graph

9 Commits

Author SHA1 Message Date
72a8a9c4f7 fix: unit-test CI job calls 'name' instead of make
All checks were successful
CI / Unit Tests (pull_request) Successful in 12s
CI / Golang Lint (pull_request) Successful in 15s
CI / Mutation Tests (pull_request) Successful in 32s
CI / Fuzz Tests (pull_request) Successful in 1m21s
I made a typo.
2026-03-18 19:34:09 -04:00
5c019baa78 refactor: use make in CI, pull module in make docs
Some checks failed
CI / Unit Tests (pull_request) Failing after 8s
CI / Golang Lint (pull_request) Successful in 1m7s
CI / Fuzz Tests (pull_request) Successful in 1m19s
CI / Mutation Tests (pull_request) Successful in 1m54s
Instead of duplicating test logic in both the CI and the Makefile, I made the CI call the Makefile. Also, updated `make docs` so it dynamically pulls the module name from `go list -m`.
2026-03-18 19:29:01 -04:00
e53ff4f50b fix: add lint to .PHONY 2026-03-17 21:37:27 -04:00
f4b12598f1 fix: add lint job
Runs all `lint-*` jobs.
2026-03-17 21:36:28 -04:00
a367c10957 feat: modernize Makefile
- Added `checkmake` to enforce good `Makefile` format.
- Added `help`, `test`, `lint-markdown`, `lint`, `clean`, and `all` targets.
- Added `install` target.
- Added target comments to streamline `help` command.
2026-03-17 21:25:26 -04:00
0017a33f12 ci: clean up workflow (#3)
All checks were successful
CI / Unit Tests (push) Successful in 35s
CI / Golang Lint (push) Successful in 1m1s
CI / Fuzz Tests (push) Successful in 1m18s
CI / Mutation Tests (push) Successful in 1m12s
## Description

The current CI workflow was auto-generated by Claude, and is really not intuitive. Fixing it up to make it work better.

- Add names for jobs in workflow.
- Rename workflow to `ci.yml`.
- Added `go mod tidy` as a tasks in the `lint` job.

### Decisions

- Chose not to use emojis for workflow or job names. While they look nice, they are unprofessional, and harder to `grep`.

Reviewed-on: #3
Co-authored-by: M.V. Hutz <git@maximhutz.me>
Co-committed-by: M.V. Hutz <git@maximhutz.me>
v0.0.1
2026-03-18 00:47:02 +00:00
ea805b28e4 fix: EqualFunc not deterministic (#2)
All checks were successful
CI / lint (push) Successful in 51s
CI / unit-test (push) Successful in 25s
CI / fuzz-test (push) Successful in 1m2s
CI / mutation-test (push) Successful in 41s
The `ExampleEqualFunc_badEqualFunc` was non-deterministic, because the hashes used in the `CustomTable` could (by chance) map "Rob" and "Robert" to the same slot.

- Updated the test to use a deterministic hash.

Reviewed-on: #2
Co-authored-by: M.V. Hutz <git@maximhutz.me>
Co-committed-by: M.V. Hutz <git@maximhutz.me>
2026-03-17 01:54:24 +00:00
717408239b chore: move from tools/dsa (#1)
Some checks failed
CI / lint (push) Successful in 51s
CI / unit-test (push) Failing after 25s
CI / fuzz-test (push) Successful in 1m1s
CI / mutation-test (push) Successful in 42s
Moved the implementation of this hash table from `tools/dsa` #1.

Reviewed-on: #1
Co-authored-by: M.V. Hutz <git@maximhutz.me>
Co-committed-by: M.V. Hutz <git@maximhutz.me>
2026-03-17 01:22:42 +00:00
553117cb30 Initial commit 2026-03-17 00:59:15 +00:00