Skip to content

Commit d013fc5

Browse files
authored
deps: Go 1.24 (#241)
* Go 1.24 * Fix non-constant format string in call to Errorf
1 parent 6d17191 commit d013fc5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TFLint Ruleset for Terraform Language
2-
[![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)
2+
[![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)
33
[![GitHub release](https://img.shields.io/github/release/terraform-linters/tflint-ruleset-terraform.svg)](https://github.com/terraform-linters/tflint-ruleset-terraform/releases/latest)
44
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-blue.svg)](LICENSE)
55

@@ -10,7 +10,7 @@ This ruleset focus on possible errors and best practices about Terraform Languag
1010
## Requirements
1111

1212
- TFLint v0.42+
13-
- Go v1.22
13+
- Go v1.24
1414

1515
## Installation
1616

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/terraform-linters/tflint-ruleset-terraform
22

3-
go 1.23
3+
go 1.24.1
44

55
require (
66
github.com/Masterminds/semver/v3 v3.3.0

terraform/ruleset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func TestApplyConfig(t *testing.T) {
267267
}
268268

269269
if diff := cmp.Diff(got, test.want); diff != "" {
270-
t.Errorf(diff)
270+
t.Error(diff)
271271
}
272272
})
273273
}

0 commit comments

Comments
 (0)