diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 490a9a5..f9b5852 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,12 +24,12 @@ jobs: run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.23' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5191afa..b7d6045 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,9 +26,9 @@ jobs: run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.23' - name: Import GPG key id: import_gpg @@ -38,10 +38,10 @@ jobs: PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser - version: latest + version: v2 args: release --rm-dist env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/go.mod b/go.mod index d15f8ec..a9b9358 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/syseleven/terraform-provider-metakube -go 1.21 - -toolchain go1.22.5 +go 1.23 replace ( github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/syseleven/terraform-plugin-sdk/v2 v2.31.0-sys11-2 @@ -19,7 +17,7 @@ require ( github.com/hashicorp/go-version v1.6.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 github.com/mitchellh/go-homedir v1.1.0 - github.com/syseleven/go-metakube v0.0.0-20241125114516-32b37523d0ce + github.com/syseleven/go-metakube v0.0.0-20241125115540-de9f7401a105 go.uber.org/zap v1.19.0 golang.org/x/mod v0.14.0 k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 diff --git a/go.sum b/go.sum index 14c02fc..c169ef3 100644 --- a/go.sum +++ b/go.sum @@ -179,8 +179,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/syseleven/go-metakube v0.0.0-20241125114516-32b37523d0ce h1:OLtunuohztvLPWNIodvVPsONtebcU3ZmWish5Z077BQ= -github.com/syseleven/go-metakube v0.0.0-20241125114516-32b37523d0ce/go.mod h1:KJB8m9a51Dcci9ee2pLwKetFm9MUrOAjDPAm5ZnOnHI= +github.com/syseleven/go-metakube v0.0.0-20241125115540-de9f7401a105 h1:+Ci95Q4SajisxRItP2LrXyq3G+vbvAMuZpp0xvYiFko= +github.com/syseleven/go-metakube v0.0.0-20241125115540-de9f7401a105/go.mod h1:KJB8m9a51Dcci9ee2pLwKetFm9MUrOAjDPAm5ZnOnHI= github.com/syseleven/terraform-plugin-sdk/v2 v2.31.0-sys11-2 h1:vywVVW9AnKcEiqgbZe16wwuaQaZ8VtMe+xmNBdvdMnU= github.com/syseleven/terraform-plugin-sdk/v2 v2.31.0-sys11-2/go.mod h1:i2C41tszDjiWfziPQDL5R/f3Zp0gahXe5No/MIO9rCE= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=