Skip to content

Commit

Permalink
update setup-go (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
xh3b4sd authored Dec 7, 2023
1 parent f50768b commit 3ee57af
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 465 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.21.1"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.21.1"
Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ module github.com/xh3b4sd/workflow
go 1.21

require (
github.com/google/go-cmp v0.5.9
github.com/spf13/afero v1.10.0
github.com/spf13/cobra v1.7.0
github.com/xh3b4sd/logger v0.7.1
github.com/xh3b4sd/tracer v0.10.1
github.com/google/go-cmp v0.6.0
github.com/spf13/afero v1.11.0
github.com/spf13/cobra v1.8.0
github.com/xh3b4sd/logger v0.8.1
github.com/xh3b4sd/tracer v0.11.1
)

require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/text v0.4.0 // indirect
golang.org/x/text v0.14.0 // indirect
)

retract [v0.0.0, v0.14.0]
459 changes: 13 additions & 446 deletions go.sum

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ func mainE(ctx context.Context) error {

var l logger.Interface
{
c := logger.Config{}

l, err = logger.New(c)
if err != nil {
return tracer.Mask(err)
}
l = logger.New(logger.Config{})
}

var r *cobra.Command
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/pbfgo/testdata/workflow/case-0.golden
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.15.2"
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/pbfgo/testdata/workflow/case-1.golden
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.14.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/pbflint/testdata/workflow/case-0.golden
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.15.2"
Expand Down
2 changes: 1 addition & 1 deletion pkg/generator/pbflint/testdata/workflow/case-1.golden
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: "actions/checkout@v4"

- name: "Setup Go Env"
uses: "actions/setup-go@v4"
uses: "actions/setup-go@v5"
with:
cache: true
go-version: "1.14.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/setup_go.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

const (
SetupGo = "4"
SetupGo = "5"
)

0 comments on commit 3ee57af

Please sign in to comment.