Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4144de0dd |
@@ -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 ./...
|
||||||
@@ -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).
|
|
||||||
Reference in New Issue
Block a user