From b3e1c857a4963996dc77fc7bda980c7cab18a143 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Wed, 18 Dec 2024 17:55:55 +0100 Subject: [PATCH] test with terraform 1.10 and ci updates (#430) --- .github/workflows/lint.yml | 4 +--- .github/workflows/mega-module.yaml | 4 ++-- .github/workflows/test.yml | 3 ++- go.mod | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9bfae72..1e147a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,9 +6,7 @@ on: permissions: contents: read - jobs: - golangci: name: lint runs-on: ubuntu-latest @@ -21,4 +19,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: - version: v1.60 + version: v1.62 diff --git a/.github/workflows/mega-module.yaml b/.github/workflows/mega-module.yaml index b560f14..035bf8f 100644 --- a/.github/workflows/mega-module.yaml +++ b/.github/workflows/mega-module.yaml @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: tf-apko - - uses: actions/setup-go@v5.1.0 + - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: 'tf-apko/go.mod' @@ -67,7 +67,7 @@ jobs: - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 with: - terraform_version: '1.9.*' + terraform_version: '1.10.*' terraform_wrapper: false - uses: chainguard-dev/actions/setup-registry@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27dc5d2..b340bd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,15 +26,16 @@ jobs: fail-fast: false matrix: terraform: - - '1.7.*' - '1.8.*' - '1.9.*' + - '1.10.*' steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: go-version-file: 'go.mod' + check-latest: true - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.0 with: diff --git a/go.mod b/go.mod index 6cf737e..ab82860 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/chainguard-dev/terraform-provider-apko -go 1.23.3 +go 1.23.4 require ( chainguard.dev/apko v0.21.0