Skip to content

Commit

Permalink
Merge pull request #169 from chenrui333/go-1.22.0
Browse files Browse the repository at this point in the history
build: use go1.22
  • Loading branch information
minamijoyo authored Feb 10, 2024
2 parents 2c03f17 + 7ae8774 commit 0bb0234
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21
1.22
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/minamijoyo/tfmigrate

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.25.0
Expand Down

0 comments on commit 0bb0234

Please sign in to comment.