From 152cb0f88977a5a14d32e3ed0434359be4c84289 Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Wed, 14 Sep 2022 01:26:57 +0300 Subject: [PATCH 1/3] feat: upgrade ykmangoath to v0.4.0 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 7c7d54f..45707f9 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/adrg/xdg v0.4.0 github.com/alexflint/go-filemutex v1.2.0 github.com/aripalo/go-delightful v0.2.15 - github.com/aripalo/ykmangoath v0.3.6 + github.com/aripalo/ykmangoath v0.4.0 github.com/aws/aws-sdk-go-v2 v1.16.3 github.com/aws/aws-sdk-go-v2/config v1.15.4 github.com/aws/aws-sdk-go-v2/service/sts v1.16.4 diff --git a/go.sum b/go.sum index 9b1fde6..6a4bbe4 100644 --- a/go.sum +++ b/go.sum @@ -51,6 +51,8 @@ github.com/aripalo/go-delightful v0.2.15 h1:EDKp24prEG3bnBQQY9T2CbBKCW4RluXdwEsJ github.com/aripalo/go-delightful v0.2.15/go.mod h1:f8Sb7bC5R9CkaVVNBJ3klOzGwWTQXgDlkv1JJmov8Pc= github.com/aripalo/ykmangoath v0.3.6 h1:TL2UPyNm+E6mZkLNv9eSsTL2jPljmEt8QVDSs4Lt/z0= github.com/aripalo/ykmangoath v0.3.6/go.mod h1:mKL3TpaaqID9iZkN9R8MuBkdRNVX/qZFteqT528SJsU= +github.com/aripalo/ykmangoath v0.4.0 h1:sVBW3zZuDnI9M8zn0AdSjZyEfkHhdCsL+Bw6RZBZtOE= +github.com/aripalo/ykmangoath v0.4.0/go.mod h1:mKL3TpaaqID9iZkN9R8MuBkdRNVX/qZFteqT528SJsU= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/aws/aws-sdk-go-v2 v1.16.3 h1:0W1TSJ7O6OzwuEvIXAtJGvOeQ0SGAhcpxPN2/NK5EhM= github.com/aws/aws-sdk-go-v2 v1.16.3/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU= From f6404cc5748911e5034ebedac75423fafe6b49ce Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Wed, 14 Sep 2022 01:41:56 +0300 Subject: [PATCH 2/3] ci: use older version of golangci lint this hopefully passes the lint as I do not want to start fixing errors in this PR introduced by *new* lint rules --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 0516d0a..e075d4e 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -20,7 +20,7 @@ jobs: uses: golangci/golangci-lint-action@v3.1.0 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: latest + version: v1.46.2 # Optional: golangci-lint command line arguments. #args: --issues-exit-code=0 From 2bd67cbe866144940de086934b434c2c08b41477 Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Wed, 14 Sep 2022 01:44:01 +0300 Subject: [PATCH 3/3] ci: downgrade golangci lint even more --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e075d4e..f768887 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -20,7 +20,7 @@ jobs: uses: golangci/golangci-lint-action@v3.1.0 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.46.2 + version: v1.45.2 # Optional: golangci-lint command line arguments. #args: --issues-exit-code=0