Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go to v1.20 #226

Merged
merged 2 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/gochecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: "1.20"

- name: Install dependencies
run: |
go version
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2

- name: Run golangci-lint
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: "1.20"

- name: Run fmt
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.17.0'
go-version: '^1.20'
- run: make test
env:
PACKER_ACC: ${{ secrets.PACKER_ACC }}
VULTR_API_KEY: ${{ secrets.VULTR_API_KEY }}

notify:
name: MatterMost Notifcation
runs-on: ubuntu-latest
Expand All @@ -28,4 +28,4 @@ jobs:
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
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 All @@ -76,4 +76,4 @@ jobs:
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.17
- name: Set up Go 1.20
uses: actions/setup-go@v1
with:
go-version: 1.17
go-version: "1.20"
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: make test
env:
VULTR_API_KEY: ${{ secrets.VULTR_API_KEY }}
VULTR_API_KEY: ${{ secrets.VULTR_API_KEY }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a [HashiCorp Packer](https://www.packer.io/) plugin for creating [Vultr]

## Requirements
* [Packer](https://www.packer.io/intro/getting-started/install.html)
* [Go 1.17+](https://golang.org/doc/install)
* [Go 1.20+](https://golang.org/doc/install)

## Build & Installation

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/vultr/packer-plugin-vultr

go 1.17
go 1.20

require (
github.com/hashicorp/hcl/v2 v2.14.0
Expand Down
821 changes: 0 additions & 821 deletions go.sum

Large diffs are not rendered by default.