From c1c007fa87e78873ccdb692e7f30daabb176ece0 Mon Sep 17 00:00:00 2001 From: Ochi Daiki Date: Wed, 7 Feb 2024 22:09:47 +0900 Subject: [PATCH] update go122 (#276) --- .github/workflows/cd.yaml | 2 +- .github/workflows/ci.yaml | 2 +- Dockerfile | 2 +- example/find_pipe_programmable-gtree/go.mod | 4 +++- example/go-list_pipe_programmable-gtree/go.mod | 4 +++- go.mod | 6 ++++-- go.sum | 4 ++-- 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index e24a6ba..346fb89 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c72aaec..6180cb0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile index 0ad9233..a19ef8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/example/find_pipe_programmable-gtree/go.mod b/example/find_pipe_programmable-gtree/go.mod index 777808a..312dbae 100644 --- a/example/find_pipe_programmable-gtree/go.mod +++ b/example/find_pipe_programmable-gtree/go.mod @@ -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 diff --git a/example/go-list_pipe_programmable-gtree/go.mod b/example/go-list_pipe_programmable-gtree/go.mod index c917e5e..c7931bc 100644 --- a/example/go-list_pipe_programmable-gtree/go.mod +++ b/example/go-list_pipe_programmable-gtree/go.mod @@ -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 diff --git a/go.mod b/go.mod index b2218bd..4edfc05 100644 --- a/go.mod +++ b/go.mod @@ -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 @@ -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 diff --git a/go.sum b/go.sum index a796623..39d0f5a 100644 --- a/go.sum +++ b/go.sum @@ -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=