-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Upgrade to Go 1.22 for building provider.
* Includes updates to the latest versions of terraform-plugin-sdk and terraform-plugin-docs. * Includes update to actions/cache version 4 in Actions workflows. * Includes update to goreleaser/goreleaser-action version 6 in Actions workflows. * Pins goreleaser to v2.2.0 as that was the last version which supported Go 1.22.
- Loading branch information
Showing
314 changed files
with
16,814 additions
and
11,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,17 +23,17 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.x | ||
go-version: 1.22.x | ||
- name: Import GPG key | ||
id: import_gpg | ||
uses: fastly/[email protected] | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
PASSPHRASE: ${{ secrets.PASSPHRASE }} | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v5 | ||
uses: goreleaser/goreleaser-action@v6 | ||
with: | ||
version: v1.21.2 # Last version to support Go 1.20.x | ||
version: 'v2.2.0' | ||
args: release --clean | ||
env: | ||
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,9 +82,9 @@ fmtcheck: | |
errcheck: | ||
@sh -c "'$(CURDIR)/scripts/errcheck.sh'" | ||
|
||
# v2.2.0 was the last goreleaser version to support Go 1.22 | ||
goreleaser-bin: | ||
@# This is the last version of goreleaser that supports Go 1.20.14 (the version used to build the provider) | ||
$(GO_BIN) install github.com/goreleaser/[email protected] | ||
$(GO_BIN) install github.com/goreleaser/goreleaser/[email protected] | ||
|
||
nilaway: | ||
@nilaway ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.