mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-01-11 22:41:45 +01:00
chore: Upgrade required go version
Since we're using the toolchain directive to generate enum helper classes, we need go 1.21+
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -12,10 +12,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up GO 1.20.x
|
||||
- name: Set up GO 1.21.x
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
- name: Setup Environment
|
||||
run: make ci-build-setup
|
||||
@@ -27,10 +27,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up GO 1.20.x
|
||||
- name: Set up GO 1.21.x
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
- name: Setup Environment
|
||||
run: make ci-build-setup
|
||||
@@ -42,10 +42,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up GO 1.20.x
|
||||
- name: Set up GO 1.21.x
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
@@ -66,10 +66,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up GO 1.20.x
|
||||
- name: Set up GO 1.21.x
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
- name: Setup Environment
|
||||
run: make ci-build-setup
|
||||
@@ -81,10 +81,10 @@ jobs:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up GO 1.20.x
|
||||
- name: Set up GO 1.21.x
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
- name: Setup Environment
|
||||
run: make ci-build-setup
|
||||
|
||||
2
.github/workflows/tag.yml
vendored
2
.github/workflows/tag.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.20'
|
||||
go-version: '1.21'
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v3
|
||||
|
||||
@@ -35,8 +35,8 @@ resource "bitbucketserver_repository" "test" {
|
||||
|
||||
### Requirements
|
||||
|
||||
- [Terraform](https://www.terraform.io/downloads.html) 0.12.x
|
||||
- [Go](https://golang.org/doc/install) 1.11+
|
||||
- [Terraform](https://www.terraform.io/downloads.html) 1.x.x
|
||||
- [Go](https://golang.org/doc/install) 1.21+
|
||||
- correctly setup [GOPATH](http://golang.org/doc/code.html#GOPATH
|
||||
- add `$GOPATH/bin` to your `$PATH`
|
||||
- clone this repository to `$GOPATH/src/github.com/xvlcwk-terraform/terraform-provider-bitbucketserver`
|
||||
|
||||
Reference in New Issue
Block a user