From 5ca8c2b842b3c194210cbca0d64112b3302eb10e Mon Sep 17 00:00:00 2001 From: Elad Tabak Date: Mon, 6 Mar 2023 15:32:42 +0200 Subject: [PATCH 1/2] Use not latest ubuntu to make linter work --- .github/workflows/check-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-pull-request.yaml b/.github/workflows/check-pull-request.yaml index c744f73b..5bfedaf4 100644 --- a/.github/workflows/check-pull-request.yaml +++ b/.github/workflows/check-pull-request.yaml @@ -53,7 +53,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout the source uses: actions/checkout@v2 From a845151f07d6eb5515fc674fa9b41249b60fca14 Mon Sep 17 00:00:00 2001 From: Elad Tabak Date: Mon, 6 Mar 2023 15:55:07 +0200 Subject: [PATCH 2/2] Add more memory --- .github/workflows/check-pull-request.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check-pull-request.yaml b/.github/workflows/check-pull-request.yaml index 5bfedaf4..944c1a86 100644 --- a/.github/workflows/check-pull-request.yaml +++ b/.github/workflows/check-pull-request.yaml @@ -54,12 +54,17 @@ jobs: lint: name: Lint runs-on: ubuntu-20.04 + strategy: + matrix: + MEMORY_LIMIT: ["8G"] steps: - name: Checkout the source uses: actions/checkout@v2 - name: Run the linter uses: golangci/golangci-lint-action@v2 + env: + MEMORY_LIMIT: ${{ matrix.MEMORY_LIMIT }} with: version: v1.48.0 skip-pkg-cache: true