-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update Go version to 1.22.x and update dependencies- Update Go…
… version matrix to use1.22.x in GitHub Actions workflows. - Disable CGO and remove 32-bit compiler installations for Linux and macOS as they are no longer needed with the new Go version.- Update go-sql-driver/mysql, google/uuid, zap, and other dependencies to their latest compatible versions. - Refactor import statements in console commands and database module to ensure consistency and remove unused imports. - Add new requirements to go.mod for updated dependencies. BREAKING CHANGE: This commit drops support for 32-bit architectures on Linux and macOS builds due to the removal of CGO_ENABLED=1 and related 32-bit compiler installations. This change aligns with the updated Go version and its improved support for64-bit architectures.
- Loading branch information
Showing
11 changed files
with
142 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,44 @@ | ||
module github.com/babyname/fate | ||
|
||
require ( | ||
github.com/go-sql-driver/mysql v1.7.1 | ||
github.com/go-sql-driver/mysql v1.8.1 | ||
github.com/godcong/chronos v1.0.0 | ||
github.com/godcong/yi v1.0.2 | ||
github.com/goextension/log v0.0.2 | ||
github.com/google/uuid v1.3.0 | ||
github.com/mattn/go-sqlite3 v1.14.17 | ||
github.com/rakyll/statik v0.1.6 | ||
github.com/spf13/cobra v1.7.0 | ||
github.com/google/uuid v1.6.0 | ||
github.com/rakyll/statik v0.1.7 | ||
github.com/spf13/cobra v1.8.1 | ||
github.com/sqlite3ent/sqlite3 v1.1.1 | ||
github.com/xormsharp/builder v0.3.8 | ||
github.com/xormsharp/xorm v1.0.4 | ||
go.uber.org/zap v1.24.0 | ||
go.uber.org/zap v1.27.0 | ||
) | ||
|
||
go 1.16 | ||
require ( | ||
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/ncruces/go-strftime v0.1.9 // indirect | ||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/stretchr/testify v1.8.2 // indirect | ||
github.com/syndtr/goleveldb v1.0.0 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/net v0.24.0 // indirect | ||
golang.org/x/sys v0.21.0 // indirect | ||
modernc.org/gc/v3 v3.0.0-20240304020402-f0dba7c97c2b // indirect | ||
modernc.org/libc v1.53.4 // indirect | ||
modernc.org/mathutil v1.6.0 // indirect | ||
modernc.org/memory v1.8.0 // indirect | ||
modernc.org/sqlite v1.30.1 // indirect | ||
modernc.org/strutil v1.2.0 // indirect | ||
modernc.org/token v1.1.0 // indirect | ||
) | ||
|
||
go 1.22 | ||
|
||
toolchain go1.22.4 |
Oops, something went wrong.