Skip to content

Commit be3e0c9

Browse files
committed
chore: update Go version to 1.24
1 parent 2958d93 commit be3e0c9

File tree

6 files changed

+135
-82
lines changed

6 files changed

+135
-82
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@v5
3434
with:
35-
go-version: "1.23"
35+
go-version: "1.24"
3636
- name: Release
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- name: Set up Go
1414
uses: actions/setup-go@v5
1515
with:
16-
go-version: "1.23"
16+
go-version: "1.24"
1717
- name: Test
1818
run: ./scripts.sh test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY scripts.sh .
88
RUN ./scripts.sh build-frontend
99

1010
# build backend
11-
FROM golang:1.23 as be
11+
FROM golang:1.24 as be
1212
WORKDIR /src
1313
COPY . ./
1414
COPY --from=fe /src/frontend/build ./frontend/build/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Download from [Releases](https://github.com/0x2E/fusion/releases).
5555

5656
### 3. Build from source
5757

58-
1. Prepare environment: Go 1.23+, Node.js 23+ (and pnpm).
58+
1. Prepare environment: Go 1.24+, Node.js 23+ (and pnpm).
5959
2. Check `scripts.sh` for more details.
6060

6161
For example:

go.mod

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
module github.com/0x2e/fusion
22

3-
go 1.23
3+
go 1.24
44

55
require (
6-
github.com/PuerkitoBio/goquery v1.10.0
7-
github.com/caarlos0/env/v11 v11.2.2
6+
github.com/PuerkitoBio/goquery v1.10.2
7+
github.com/caarlos0/env/v11 v11.3.1
88
github.com/glebarez/sqlite v1.11.0
99
github.com/go-playground/locales v0.14.1
1010
github.com/go-playground/universal-translator v0.18.1
11-
github.com/go-playground/validator/v10 v10.22.1
11+
github.com/go-playground/validator/v10 v10.25.0
1212
github.com/gorilla/sessions v1.4.0
1313
github.com/joho/godotenv v1.5.1
14-
github.com/labstack/echo-contrib v0.17.1
15-
github.com/labstack/echo/v4 v4.12.0
14+
github.com/labstack/echo-contrib v0.17.2
15+
github.com/labstack/echo/v4 v4.13.3
1616
github.com/mmcdole/gofeed v1.3.0
17-
github.com/stretchr/testify v1.9.0
17+
github.com/stretchr/testify v1.10.0
1818
go.uber.org/zap v1.27.0
19+
golang.org/x/crypto v0.36.0
1920
gorm.io/gorm v1.25.12
2021
gorm.io/plugin/soft_delete v1.2.1
2122
)
2223

2324
require (
24-
github.com/andybalholm/cascadia v1.3.2 // indirect
25+
github.com/andybalholm/cascadia v1.3.3 // indirect
2526
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2627
github.com/dustin/go-humanize v1.0.1 // indirect
27-
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
28-
github.com/glebarez/go-sqlite v1.21.2 // indirect
29-
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
30-
github.com/google/uuid v1.3.0 // indirect
28+
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
29+
github.com/glebarez/go-sqlite v1.22.0 // indirect
30+
github.com/google/uuid v1.6.0 // indirect
3131
github.com/gorilla/context v1.1.2 // indirect
3232
github.com/gorilla/securecookie v1.1.2 // indirect
3333
github.com/jinzhu/inflection v1.0.0 // indirect
@@ -36,27 +36,28 @@ require (
3636
github.com/kr/pretty v0.3.1 // indirect
3737
github.com/labstack/gommon v0.4.2 // indirect
3838
github.com/leodido/go-urn v1.4.0 // indirect
39-
github.com/mattn/go-colorable v0.1.13 // indirect
39+
github.com/mattn/go-colorable v0.1.14 // indirect
4040
github.com/mattn/go-isatty v0.0.20 // indirect
41-
github.com/mattn/go-sqlite3 v1.14.23 // indirect
41+
github.com/mattn/go-sqlite3 v1.14.24 // indirect
4242
github.com/mmcdole/goxpp v1.1.1 // indirect
4343
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4444
github.com/modern-go/reflect2 v1.0.2 // indirect
45+
github.com/ncruces/go-strftime v0.1.9 // indirect
4546
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
4647
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
4748
github.com/valyala/bytebufferpool v1.0.0 // indirect
4849
github.com/valyala/fasttemplate v1.2.2 // indirect
4950
go.uber.org/multierr v1.11.0 // indirect
50-
golang.org/x/crypto v0.27.0 // indirect
51-
golang.org/x/net v0.29.0 // indirect
52-
golang.org/x/sys v0.25.0 // indirect
53-
golang.org/x/text v0.18.0 // indirect
54-
golang.org/x/time v0.6.0 // indirect
51+
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 // indirect
52+
golang.org/x/net v0.37.0 // indirect
53+
golang.org/x/sys v0.31.0 // indirect
54+
golang.org/x/text v0.23.0 // indirect
55+
golang.org/x/time v0.11.0 // indirect
5556
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
5657
gopkg.in/yaml.v3 v3.0.1 // indirect
57-
gorm.io/driver/sqlite v1.5.6 // indirect
58-
modernc.org/libc v1.22.5 // indirect
59-
modernc.org/mathutil v1.5.0 // indirect
60-
modernc.org/memory v1.5.0 // indirect
61-
modernc.org/sqlite v1.23.1 // indirect
58+
gorm.io/driver/sqlite v1.5.7 // indirect
59+
modernc.org/libc v1.61.13 // indirect
60+
modernc.org/mathutil v1.7.1 // indirect
61+
modernc.org/memory v1.8.2 // indirect
62+
modernc.org/sqlite v1.36.0 // indirect
6263
)

0 commit comments

Comments
 (0)