diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b3cdcc2..c783037 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: '.go-version' - name: golangci-lint diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6025e86..461714c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: '.go-version' - name: test diff --git a/.go-version b/.go-version index d2ab029..71f7f51 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.21 +1.22 diff --git a/Dockerfile b/Dockerfile index 9bd69b4..21dbb13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG OPENTOFU_VERSION=latest FROM hashicorp/terraform:$TERRAFORM_VERSION AS terraform FROM ghcr.io/opentofu/opentofu:$OPENTOFU_VERSION AS opentofu -FROM golang:1.21-alpine3.18 +FROM golang:1.22-alpine3.19 RUN apk --no-cache add make git bash COPY --from=terraform /bin/terraform /usr/local/bin/ COPY --from=opentofu /usr/local/bin/tofu /usr/local/bin/ diff --git a/README.md b/README.md index 835a56b..be70889 100644 --- a/README.md +++ b/README.md @@ -285,7 +285,7 @@ https://github.com/minamijoyo/tfmigrate/releases ### Source -If you have Go 1.21+ development environment: +If you have Go 1.22+ development environment: ``` $ git clone https://github.com/minamijoyo/tfmigrate diff --git a/go.mod b/go.mod index bd87f76..b36ca3d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/minamijoyo/tfmigrate -go 1.21 +go 1.22 require ( cloud.google.com/go/storage v1.25.0