From 5038829ac5bfc796ba6bf349e9fea16ad20f4822 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 20 Aug 2026 22:21:09 -0700 Subject: [PATCH] Build on Go 1.27 --- Dockerfile | 2 +- README.md | 2 +- docs/dev.md | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0915640..c9373d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26 AS build +FROM golang:1.27 AS build WORKDIR /src COPY go.mod go.sum ./ RUN go mod download diff --git a/README.md b/README.md index ce3a1b8..14f9f87 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Web apps for the Helios school community (K-8), served as one static Go binary o Open http://localhost:8080. That's the whole setup: with no configuration the server loads the fictional community in `sampledata/`, signs every request in as a sample parent, and fakes geocoding — no credentials, no cloud project. Templates, static assets, and sample data are read from disk on every request, so edit a file and refresh; nothing needs restarting. -`brew install --cask google-chrome` additionally enables the screenshot tooling used to verify visual changes ([docs/screenshots.md](docs/screenshots.md)). No Node, no Docker. Go 1.26 or later. +`brew install --cask google-chrome` additionally enables the screenshot tooling used to verify visual changes ([docs/screenshots.md](docs/screenshots.md)). No Node, no Docker. Go 1.27 or later. To run against real community data instead, see [docs/dev.md](docs/dev.md). diff --git a/docs/dev.md b/docs/dev.md index 9fff49e..6671f25 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -35,7 +35,7 @@ Development happens on macOS. Two Homebrew installs cover everything here and in brew install go brew install --cask google-chrome -- **Go** 1.26 or later — builds and runs the server and all tooling (`go run`, `go vet`). +- **Go** 1.27 or later — builds and runs the server and all tooling (`go run`, `go vet`). - **Google Chrome** — launched headless by the screenshot tool from its standard install location; never opened by hand. No Node, no Docker, and no cloud credentials are needed for local development. Repository layout is in the README. diff --git a/go.mod b/go.mod index 1e182b8..064af98 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module heliosian -go 1.26 +go 1.27 require ( github.com/chromedp/cdproto v0.0.0-20260714215040-dc233986426f