From 77037770557a7b851849a810d7c577f8971d3a9b Mon Sep 17 00:00:00 2001 From: Pat Myron Date: Tue, 2 Aug 2022 12:26:10 -0700 Subject: [PATCH] go 1.19 gsed -i 's/1\.18/1.19/' .github/workflows/* README.md go.mod tools/go.mod --- .github/workflows/build.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/generated_code_checks.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/maintenance.yaml | 2 +- .github/workflows/release.yml | 2 +- README.md | 2 +- go.mod | 2 +- tools/go.mod | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4be047af..829c3e1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run tests run: make test - name: Run build diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8d616f5f..c1f78d6c 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Install TFLint run: curl -sL https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash - name: Install plugin (Linux) diff --git a/.github/workflows/generated_code_checks.yml b/.github/workflows/generated_code_checks.yml index 9ed05c4c..827d48fb 100644 --- a/.github/workflows/generated_code_checks.yml +++ b/.github/workflows/generated_code_checks.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: go run ./apispec-rule-gen working-directory: ./tools run: go run ./apispec-rule-gen && git diff --exit-code diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 3c26aaba..251a4c89 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2ccc383a..c3af2481 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run linters run: | export PATH=$PATH:$(go env GOPATH)/bin diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml index 3101bbba..2b4cdfcf 100644 --- a/.github/workflows/maintenance.yaml +++ b/.github/workflows/maintenance.yaml @@ -13,7 +13,7 @@ jobs: submodules: true - uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - run: | cd tools/apispec-rule-gen/schema terraform init -upgrade diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21cdc9f7..4dfdcbd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/README.md b/README.md index 6060a404..66f57800 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ TFLint ruleset plugin for Terraform Provider for Azure (Resource Manager) ## Requirements - TFLint v0.35+ -- Go v1.18 +- Go v1.19 ## Installation diff --git a/go.mod b/go.mod index 3bc8937b..9a11a2b3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/terraform-linters/tflint-ruleset-azurerm -go 1.18 +go 1.19 require ( github.com/dave/dst v0.26.2 diff --git a/tools/go.mod b/tools/go.mod index 8dac3c60..b5a2b8dc 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/terraform-linters/tflint-ruleset-azurerm/tools -go 1.18 +go 1.19 require ( github.com/hashicorp/hcl/v2 v2.12.0