chore: upgrading minimal Go from 1.23 to 1.25.

This commit is contained in:
Houmgaor
2025-11-09 16:51:02 +01:00
parent 68b9cf48d1
commit e31a37e0f9
4 changed files with 6 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.25'
- name: Download dependencies - name: Download dependencies
run: go mod download run: go mod download
@@ -63,7 +63,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.25'
- name: Download dependencies - name: Download dependencies
run: go mod download run: go mod download

View File

@@ -22,7 +22,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.23' go-version: '1.25'
- name: Build Linux-amd64 - name: Build Linux-amd64
run: env GOOS=linux GOARCH=amd64 go build -v run: env GOOS=linux GOARCH=amd64 go build -v

View File

@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Updated minimum Go version requirement from 1.23 to 1.25
- Improved config handling - Improved config handling
- Refactored logout flow to save all data before cleanup (prevents data loss race conditions) - Refactored logout flow to save all data before cleanup (prevents data loss race conditions)
- Unified save operation into single `saveAllCharacterData()` function with proper error handling - Unified save operation into single `saveAllCharacterData()` function with proper error handling

4
go.mod
View File

@@ -1,6 +1,6 @@
module erupe-ce module erupe-ce
go 1.23.0 go 1.25
require ( require (
github.com/bwmarrin/discordgo v0.27.1 github.com/bwmarrin/discordgo v0.27.1
@@ -11,7 +11,6 @@ require (
github.com/spf13/viper v1.17.0 github.com/spf13/viper v1.17.0
go.uber.org/zap v1.26.0 go.uber.org/zap v1.26.0
golang.org/x/crypto v0.36.0 golang.org/x/crypto v0.36.0
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
golang.org/x/text v0.23.0 golang.org/x/text v0.23.0
) )
@@ -31,6 +30,7 @@ require (
github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/net v0.38.0 // indirect golang.org/x/net v0.38.0 // indirect
golang.org/x/sys v0.31.0 // indirect golang.org/x/sys v0.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect