Compare commits

1 Commits
Author SHA1 Message Date
claudeandClaude Sonnet 5 f4144de0dd add CI workflow running go vet and go test
CI / test (pull_request) Successful in 4m45s
Adds .gitea/workflows/ci.yml: on push to main and on pull requests, run
`go vet ./...` then `go test ./...` in a golang:1.25-alpine container.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 12:51:05 +01:00
2 changed files with 30 additions and 16 deletions
+30
View File
@@ -0,0 +1,30 @@
# Vet and test the package. This is a pure Go library -- no build
# step, no services -- so CI just runs `go vet` then `go test` on
# every push to main and every pull request.
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.25-alpine
env:
# Sibling modules live on this Gitea; fetch them straight over
# git rather than through the public module proxy.
GOPRIVATE: code.aneur.in
steps:
- name: Install checkout dependencies
run: apk add --no-cache git nodejs
- uses: actions/checkout@v4
- name: go vet
run: go vet ./...
- name: go test
run: go test ./...
-16
View File
@@ -1,16 +0,0 @@
> [!IMPORTANT]
> **This repository is archived and no longer maintained.**
>
> It tied together `go/record`, `go/sqimple`, and `go/version` (all archived).
> Its pieces are better served by mature libraries.
>
> **Use instead:**
> - [`github.com/jmoiron/sqlx`](https://github.com/jmoiron/sqlx) — scanning rows into structs or maps (the `ScanRecords` job).
> - [`github.com/pressly/goose`](https://github.com/pressly/goose) or [`github.com/golang-migrate/migrate`](https://github.com/golang-migrate/migrate) — migrations.
> - [`github.com/Masterminds/squirrel`](https://github.com/Masterminds/squirrel) — query building.
---
# sqaffold
Lightweight SQLite application scaffolding (migrations, query helpers, row scanning).