this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bump golang version to 1.23; fix slog syntax issues (#893)

This is just periodic maintenance, there isn't anything specific in 1.23
we want/need.

go v1.24 is expected in February 2025; we usually wait a month or two
before upgrading (though we didn't get around to 1.23 until now).

The newer `go vet` turned up some slog syntax issues.

authored by

bnewbold and committed by
GitHub
e0a78c4b d4a1db15

+17 -17
+2 -2
.github/workflows/golang.yml
··· 19 19 - name: Set up Go tooling 20 20 uses: actions/setup-go@v4 21 21 with: 22 - go-version: "1.22" 22 + go-version: "1.23" 23 23 - name: Build 24 24 run: make build 25 25 - name: Test ··· 32 32 - name: Set up Go tooling 33 33 uses: actions/setup-go@v4 34 34 with: 35 - go-version: "1.22" 35 + go-version: "1.23" 36 36 - name: Lint 37 37 run: make lint
+2 -2
bgs/bgs.go
··· 662 662 } 663 663 664 664 if err := conn.WriteControl(websocket.PingMessage, []byte{}, time.Now().Add(5*time.Second)); err != nil { 665 - bgs.log.Warn("failed to ping client: %s", err) 665 + bgs.log.Warn("failed to ping client", "err", err) 666 666 cancel() 667 667 return 668 668 } ··· 687 687 for { 688 688 _, _, err := conn.ReadMessage() 689 689 if err != nil { 690 - bgs.log.Warn("failed to read message from client: %s", err) 690 + bgs.log.Warn("failed to read message from client", "err", err) 691 691 cancel() 692 692 return 693 693 }
+1 -1
carstore/nonarchive.go
··· 131 131 } 132 132 133 133 if since != nil && *since != lastShard.Rev { 134 - cs.log.Warn("revision mismatch: %s != %s: %s", *since, lastShard.Rev, ErrRepoBaseMismatch) 134 + cs.log.Warn("revision mismatch", "commitSince", since, "lastRev", lastShard.Rev, "err", ErrRepoBaseMismatch) 135 135 } 136 136 137 137 return &DeltaSession{
+2 -2
cmd/beemo/Dockerfile
··· 3 3 # podman build -f ./cmd/beemo/Dockerfile -t beemo . 4 4 5 5 ### Compile stage 6 - FROM golang:1.22-alpine3.19 AS build-env 6 + FROM golang:1.23-alpine3.20 AS build-env 7 7 RUN apk add --no-cache build-base make git 8 8 9 9 ADD . /dockerbuild ··· 15 15 go build -tags timetzdata -o /beemo ./cmd/beemo 16 16 17 17 ### Run stage 18 - FROM alpine:3.19 18 + FROM alpine:3.20 19 19 20 20 RUN apk add --no-cache --update dumb-init ca-certificates 21 21 ENTRYPOINT ["dumb-init", "--"]
+2 -2
cmd/bigsky/Dockerfile
··· 3 3 # podman build -f ./cmd/bigsky/Dockerfile -t bigsky . 4 4 5 5 ### Compile stage 6 - FROM golang:1.22-alpine3.19 AS build-env 6 + FROM golang:1.23-alpine3.20 AS build-env 7 7 RUN apk add --no-cache build-base make git 8 8 9 9 ADD . /dockerbuild ··· 26 26 RUN yarn build 27 27 28 28 ### Run stage 29 - FROM alpine:3.19 29 + FROM alpine:3.20 30 30 31 31 RUN apk add --no-cache --update dumb-init ca-certificates runit 32 32 ENTRYPOINT ["dumb-init", "--"]
+2 -2
cmd/hepa/Dockerfile
··· 3 3 # podman build -f ./cmd/hepa/Dockerfile -t hepa . 4 4 5 5 ### Compile stage 6 - FROM golang:1.22-alpine3.19 AS build-env 6 + FROM golang:1.23-alpine3.20 AS build-env 7 7 RUN apk add --no-cache build-base make git 8 8 9 9 ADD . /dockerbuild ··· 15 15 go build -tags timetzdata -o /hepa ./cmd/hepa 16 16 17 17 ### Run stage 18 - FROM alpine:3.19 18 + FROM alpine:3.20 19 19 20 20 RUN apk add --no-cache --update dumb-init ca-certificates 21 21 ENTRYPOINT ["dumb-init", "--"]
+2 -2
cmd/palomar/Dockerfile
··· 3 3 # podman build -f ./cmd/palomar/Dockerfile -t palomar . 4 4 5 5 ### Compile stage 6 - FROM golang:1.22-alpine3.19 AS build-env 6 + FROM golang:1.23-alpine3.20 AS build-env 7 7 RUN apk add --no-cache build-base make git 8 8 9 9 ADD . /dockerbuild ··· 15 15 go build -tags timetzdata -o /palomar ./cmd/palomar 16 16 17 17 ### Run stage 18 - FROM alpine:3.19 18 + FROM alpine:3.20 19 19 20 20 RUN apk add --no-cache --update dumb-init ca-certificates 21 21 ENTRYPOINT ["dumb-init", "--"]
+1 -1
cmd/rainbow/Dockerfile
··· 1 - FROM golang:1.22-bullseye AS build-env 1 + FROM golang:1.23-bullseye AS build-env 2 2 3 3 ENV DEBIAN_FRONTEND=noninteractive 4 4 ENV TZ=Etc/UTC
+1 -1
cmd/sonar/Dockerfile
··· 1 1 # Stage 1: Build the Go binary 2 - FROM golang:1.22-alpine3.19 AS builder 2 + FROM golang:1.23-alpine3.20 AS builder 3 3 4 4 # Install SSL ca certificates. 5 5 RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
+1 -1
cmd/supercollider/Dockerfile
··· 1 1 # Stage 1: Build the Go binary 2 - FROM golang:1.22-alpine3.18 AS builder 2 + FROM golang:1.23-alpine3.20 AS builder 3 3 4 4 # Create a directory for the application 5 5 WORKDIR /app
+1 -1
go.mod
··· 1 1 module github.com/bluesky-social/indigo 2 2 3 - go 1.22 3 + go 1.23 4 4 5 5 require ( 6 6 contrib.go.opencensus.io/exporter/prometheus v0.4.2