From ce1865fcc20c58a3aaaeec0ef8925bcc971bf431 Mon Sep 17 00:00:00 2001 From: Sunil Shivanand Date: Fri, 24 Mar 2023 12:41:40 +0100 Subject: [PATCH 1/2] chore: upgrade golangci-lint with new flag `only-new-issues` reports only issues in the modified PR. This improves cache read and write time which attribute to 99%+ of the time spent. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e85e416..53c95d76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,9 @@ jobs: cache: true - uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0 with: - version: v1.50.1 + version: v1.52.1 args: --timeout 5m + only-new-issues: true yaml-lint: runs-on: ubuntu-latest steps: From faff497ef16bc5ce463bf4f19a7a98d00a931683 Mon Sep 17 00:00:00 2001 From: Sunil Shivanand Date: Fri, 24 Mar 2023 13:13:26 +0100 Subject: [PATCH 2/2] Update .github/workflows/ci.yml Co-authored-by: Mikael Olausson <104485047+mikaelol@users.noreply.github.com> --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f050afa..522dc7ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: go-version-file: go.mod - uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0 with: + # renovate: datasource=go depName=github.com/golangci/golangci-lint version: v1.52.1 args: --timeout 5m only-new-issues: true