Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Update go to 1.24

Matt Roberts6a0235c98fa9
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index edb5dd12c..bc842af3c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -53,10 +53,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Use Go 1.22
+ - name: Use Go 1.24
uses: actions/setup-go@v5
with:
- go-version: '1.22'
+ go-version: '1.24'
cache: true
- name: Use Node.js 22.x
uses: actions/setup-node@v4
diff --git a/Dockerfile b/Dockerfile
index 2f2a30e04..0a19d340d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@
#####################
### Server Build Step
#####################
-FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-bookworm AS server-builder
+FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.24-bookworm AS server-builder
RUN apt-get update && apt-get install -y \
build-essential \
diff --git a/go.mod b/go.mod
index bdc3e3d6b..acfb54706 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,8 @@
-// +heroku goVersion go1.22
+// +heroku goVersion go1.24
module github.com/getfider/fider
-go 1.22.0
+go 1.24.0
require (
github.com/aws/aws-sdk-go v1.41.14
@@ -20,6 +20,7 @@ require (
github.com/lib/pq v1.10.9
github.com/microcosm-cc/bluemonday v1.0.16
github.com/patrickmn/go-cache v2.1.0+incompatible
+ github.com/pemistahl/lingua-go v1.4.0
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/client_model v0.2.0
github.com/robfig/cron v1.2.0
@@ -150,7 +151,6 @@ require (
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
- github.com/pemistahl/lingua-go v1.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/polyfloyd/go-errorlint v1.5.2 // indirect
github.com/prometheus/common v0.32.1 // indirect