Skip to content

Commit

Permalink
Merge pull request #58 from chenrui333/go-1.22.0
Browse files Browse the repository at this point in the history
feat: update to use go 1.22
  • Loading branch information
minamijoyo authored Feb 10, 2024
2 parents edcce30 + 7a62ec8 commit 3313edc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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 @@ -21,7 +21,7 @@ jobs:
- 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

# A workaround for a permission issue of git.
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/tfschema

go 1.21
go 1.22

require (
github.com/hashicorp/go-hclog v0.15.0
Expand Down

0 comments on commit 3313edc

Please sign in to comment.