diff --git a/README.md b/README.md index d642d3d..3c58e87 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # TFLint Ruleset for Terraform Language -[![Build Status](https://github.com/terraform-linters/tflint-ruleset-terraform/workflows/build/badge.svg?branch=main)](https://github.com/terraform-linters/tflint-ruleset-terraform/actions) +[![Build Status](https://github.com/terraform-linters/tflint-ruleset-terraform/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/terraform-linters/tflint-ruleset-terraform/actions) [![GitHub release](https://img.shields.io/github/release/terraform-linters/tflint-ruleset-terraform.svg)](https://github.com/terraform-linters/tflint-ruleset-terraform/releases/latest) [![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-blue.svg)](LICENSE) @@ -10,7 +10,7 @@ This ruleset focus on possible errors and best practices about Terraform Languag ## Requirements - TFLint v0.42+ -- Go v1.22 +- Go v1.24 ## Installation diff --git a/go.mod b/go.mod index b7fcfbe..fe352d5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/terraform-linters/tflint-ruleset-terraform -go 1.23 +go 1.24.1 require ( github.com/Masterminds/semver/v3 v3.3.0 diff --git a/terraform/ruleset_test.go b/terraform/ruleset_test.go index 9ea4a19..61d708b 100644 --- a/terraform/ruleset_test.go +++ b/terraform/ruleset_test.go @@ -267,7 +267,7 @@ func TestApplyConfig(t *testing.T) { } if diff := cmp.Diff(got, test.want); diff != "" { - t.Errorf(diff) + t.Error(diff) } }) }