Skip to content

Commit

Permalink
update go122 (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddddddO authored Feb 7, 2024
1 parent 7aca3f2 commit c1c007f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '>=1.21.0'
go-version: '>=1.22'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: set up
uses: actions/setup-go@v3
with:
go-version: '>=1.21.0'
go-version: '>=1.22'
- name: checkout
uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.21-alpine AS builder
FROM golang:1.22-alpine AS builder
WORKDIR /github.com/ddddddO/gtree
COPY go.* *.go ./
WORKDIR /github.com/ddddddO/gtree/markdown
Expand Down
4 changes: 3 additions & 1 deletion example/find_pipe_programmable-gtree/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module example.com/find_pipe_programmable-gtree

go 1.21.0
go 1.22

toolchain go1.22.0

require github.com/ddddddO/gtree v1.9.9

Expand Down
4 changes: 3 additions & 1 deletion example/go-list_pipe_programmable-gtree/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module example.com/go-list_pipe_programmable-gtree

go 1.21.0
go 1.22

toolchain go1.22.0

require github.com/ddddddO/gtree v1.9.9

Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/ddddddO/gtree

go 1.21
go 1.22

toolchain go1.22.0

require (
github.com/fatih/color v1.16.0
Expand All @@ -12,7 +14,7 @@ require (
)

require (
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down

0 comments on commit c1c007f

Please sign in to comment.