update golang to v1.25 (and some containers do debian bookworm) (#9442)
* bskyweb: bump go to v1.25 * update docker images to go v1.25 and debian bookworm * bump CI to go v1.25
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Set up Go tooling
|
- name: Set up Go tooling
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.23"
|
go-version: "1.25"
|
||||||
- name: Dummy Static Files
|
- name: Dummy Static Files
|
||||||
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt
|
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt
|
||||||
- name: Check
|
- name: Check
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Set up Go tooling
|
- name: Set up Go tooling
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: "1.23"
|
go-version: "1.25"
|
||||||
- name: Dummy Static Files
|
- name: Dummy Static Files
|
||||||
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt
|
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.24.5-bullseye AS build-env
|
FROM golang:1.25-bookworm AS build-env
|
||||||
|
|
||||||
WORKDIR /usr/src/social-app
|
WORKDIR /usr/src/social-app
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@ RUN cd bskyweb/ && \
|
|||||||
-o /bskyweb \
|
-o /bskyweb \
|
||||||
./cmd/bskyweb
|
./cmd/bskyweb
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ENV GODEBUG=netdns=go
|
ENV GODEBUG=netdns=go
|
||||||
ENV TZ=Etc/UTC
|
ENV TZ=Etc/UTC
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.24.5-bullseye AS build-env
|
FROM golang:1.25-bookworm AS build-env
|
||||||
|
|
||||||
WORKDIR /usr/src/social-app
|
WORKDIR /usr/src/social-app
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ RUN cd bskyweb/ && \
|
|||||||
-o /embedr \
|
-o /embedr \
|
||||||
./cmd/embedr
|
./cmd/embedr
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ENV GODEBUG=netdns=go
|
ENV GODEBUG=netdns=go
|
||||||
ENV TZ=Etc/UTC
|
ENV TZ=Etc/UTC
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
module github.com/bluesky-social/social-app/bskyweb
|
module github.com/bluesky-social/social-app/bskyweb
|
||||||
|
|
||||||
go 1.24.5
|
go 1.25
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/bluesky-social/indigo v0.0.0-20250729223159-573ae927246a
|
github.com/bluesky-social/indigo v0.0.0-20250729223159-573ae927246a
|
||||||
|
|||||||
Reference in New Issue
Block a user