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:
parent
edd96857e6
commit
8edfe9c7c5
8
.github/workflows/golangci-lint.yml
vendored
8
.github/workflows/golangci-lint.yml
vendored
@ -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
|
||||
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@ -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
|
||||
|
@ -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
2
go.mod
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user