File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v3
1010 - name : golangci-lint
11- uses : golangci/golangci-lint-action@v2
11+ uses : golangci/golangci-lint-action@v3
1212 with :
1313 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
14- version : v1.46.2
14+ version : latest
1515 args : --timeout 5m
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ func cassetteSensitiveFieldsAnonymizer(i *cassette.Interaction) error {
202202 var jsonBody map [string ]interface {}
203203 err := json .Unmarshal ([]byte (i .Response .Body ), & jsonBody )
204204 if err != nil {
205+ //nolint:nilerr
205206 return nil
206207 }
207208 for key , value := range SensitiveFields {
@@ -338,13 +339,13 @@ func TestAccScalewayProvider_SSHKeys(t *testing.T) {
338339 {
339340 Config : fmt .Sprintf (`
340341 resource "scaleway_account_ssh_key" "prod" {
341- provider = "prod"
342+ provider = "prod"
342343 name = "%[1]s"
343344 public_key = "%[2]s"
344345 }
345346
346347 resource "scaleway_account_ssh_key" "dev" {
347- provider = "dev"
348+ provider = "dev"
348349 name = "%[1]s"
349350 public_key = "%[2]s"
350351 }
@@ -397,7 +398,7 @@ func TestAccScalewayProvider_InstanceIPZones(t *testing.T) {
397398 resource scaleway_instance_ip dev {
398399 provider = "dev"
399400 }
400-
401+
401402 resource scaleway_instance_ip prod {
402403 provider = "prod"
403404 }
You can’t perform that action at this time.
0 commit comments