Skip to content

Commit

Permalink
Merge pull request #86 from mkumatag/update_golang
Browse files Browse the repository at this point in the history
update golang to 1.20
  • Loading branch information
mkumatag authored Mar 17, 2023
2 parents 84bc949 + 2e3c62f commit bb43021
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
executors:
golang:
docker:
- image: docker.mirror.hashicorp.services/cimg/go:1.18
- image: docker.mirror.hashicorp.services/cimg/go:1.20
resource_class: medium+

commands:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: 'Determine Go version'
id: get-go-version
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
needs: get-go-version
name: Linux Go tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand All @@ -39,7 +39,7 @@ jobs:
needs: get-go-version
name: Darwin Go tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand All @@ -49,7 +49,7 @@ jobs:
needs: get-go-version
name: Windows Go tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/go-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: 'Determine Go version'
id: get-go-version
run: |
Expand All @@ -28,7 +28,7 @@ jobs:
needs: get-go-version
name: Go Mod Tidy
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand All @@ -38,7 +38,7 @@ jobs:
needs: get-go-version
name: Go Lint check
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand All @@ -52,7 +52,7 @@ jobs:
needs: get-go-version
name: Go fmt check
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand All @@ -69,7 +69,7 @@ jobs:
needs: get-go-version
name: Generate check
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.20
- name: Describe plugin
id: plugin_describe
run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-plugin-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: init and build example
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Init
uses: hashicorp/packer-github-actions@master
Expand All @@ -44,4 +44,4 @@ jobs:
working_directory: ${{ github.event.inputs.folder }}
command: build
env:
PACKER_LOG: ${{ github.event.inputs.logs }}
PACKER_LOG: ${{ github.event.inputs.logs }}
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.3
1.20.2

0 comments on commit bb43021

Please sign in to comment.