From 59709ad8d8743ae53272b1852b6948ea37eebfed Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 2 Jan 2025 15:57:03 -0500 Subject: [PATCH] bump golang version to v1.23 (#7325) --- .github/workflows/golang-test-lint.yml | 4 ++-- Dockerfile | 2 +- Dockerfile.embedr | 2 +- bskyweb/README.md | 2 +- bskyweb/go.mod | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/golang-test-lint.yml b/.github/workflows/golang-test-lint.yml index c8124dbade..af849d1355 100644 --- a/.github/workflows/golang-test-lint.yml +++ b/.github/workflows/golang-test-lint.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go tooling uses: actions/setup-go@v3 with: - go-version: '1.22' + go-version: '1.23' - name: Dummy Static Files run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt - name: Check @@ -36,7 +36,7 @@ jobs: - name: Set up Go tooling uses: actions/setup-go@v3 with: - go-version: '1.22' + go-version: '1.23' - name: Dummy Static Files run: touch bskyweb/static/js/blah.js && touch bskyweb/static/css/blah.txt && touch bskyweb/static/media/blah.txt - name: Lint diff --git a/Dockerfile b/Dockerfile index 557321872a..4a9a7e87f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-bullseye AS build-env +FROM golang:1.23-bullseye AS build-env WORKDIR /usr/src/social-app diff --git a/Dockerfile.embedr b/Dockerfile.embedr index 3623b3293e..46719dc438 100644 --- a/Dockerfile.embedr +++ b/Dockerfile.embedr @@ -1,4 +1,4 @@ -FROM golang:1.22-bullseye AS build-env +FROM golang:1.23-bullseye AS build-env WORKDIR /usr/src/social-app diff --git a/bskyweb/README.md b/bskyweb/README.md index 4717c45e0c..6da8e1d06a 100644 --- a/bskyweb/README.md +++ b/bskyweb/README.md @@ -24,7 +24,7 @@ Then build and copy over the big 'ol `bundle.web.js` file: ### Golang Daemon -Install golang. We are generally using v1.22+. +Install golang. We generally develop against the current stable release of the language, as declared in `go.mod`. In this directory (`bskyweb/`): diff --git a/bskyweb/go.mod b/bskyweb/go.mod index d07bb7f89b..90a205d0c1 100644 --- a/bskyweb/go.mod +++ b/bskyweb/go.mod @@ -1,8 +1,8 @@ module github.com/bluesky-social/social-app/bskyweb -go 1.22 +go 1.23 -toolchain go1.22.4 +toolchain go1.23.4 require ( github.com/bluesky-social/indigo v0.0.0-20240624223826-fd66f93ce141