0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 11:02:59 +00:00

feat: Update to Go 1.19 (#280)

* feat: Update to Go 1.19

* fix order of steps in CI
This commit is contained in:
Pavel Boldyrev 2023-03-27 17:43:55 -04:00 committed by GitHub
parent edd96857e6
commit 8edfe9c7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 18 deletions

View File

@ -14,14 +14,14 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.52
only-new-issues: true

View File

@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version-file: 'go.mod'
- name: Import GPG key
id: import_gpg

View File

@ -17,13 +17,13 @@ jobs:
timeout-minutes: 5
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Check out code into the Go module directory
uses: actions/checkout@v3
go-version-file: 'go.mod'
- name: Get dependencies
run: go mod download
@ -54,13 +54,13 @@ jobs:
- '1.4.2'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Check out code into the Go module directory
uses: actions/checkout@v3
go-version-file: 'go.mod'
- name: Get dependencies
run: go mod download

View File

@ -24,9 +24,9 @@ other enhancements.
## Requirements
- [Terraform](https://www.terraform.io/downloads.html) 1.1+
- [Go](https://golang.org/doc/install) 1.18+ (to build the provider plugin)
- [GoReleaser](https://goreleaser.com/install/) v1.10+ (to build the provider plugin)
- [Terraform](https://www.terraform.io/downloads.html) 1.2+
- [Go](https://golang.org/doc/install) 1.19+ (to build the provider plugin)
- [GoReleaser](https://goreleaser.com/install/) v1.15+ (to build the provider plugin)
## Table of Contents

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/bpg/terraform-provider-proxmox
go 1.18
go 1.19
require (
github.com/google/go-querystring v1.1.0

View File

@ -1,6 +1,6 @@
module github.com/golang-templates/seed/build
go 1.16
go 1.19
require (
github.com/ProtonMail/go-crypto v0.0.0-20211112122917-428f8eabeeb3 // indirect