update go version to 1.21

This commit is contained in:
M09Ic 2024-02-12 16:55:16 +08:00
parent 04c449a297
commit a49239b78a
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.21
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4

View File

@ -66,7 +66,6 @@ func Spray() {
pkg.LogVerbose: logs.Green,
})
// check $home/.config/spray/config.yaml exist, if not, create it
if option.Config != "" {
err := internal.LoadConfig(option.Config, &option)
if err != nil {