From 26e80b8c6753e205def127769cc37e2b2b6a2047 Mon Sep 17 00:00:00 2001 From: Mukzid <118280220+Mukzid@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:25:01 +0530 Subject: [PATCH] Update golangci-lint.yml Added pull-requests: read to the permissions section for consistency & rearranged the order of the actions/checkout and actions/setup-go steps to follow the conventional order Signed-off-by: Mukzid <118280220+Mukzid@users.noreply.github.com> --- .github/workflows/golangci-lint.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d96b0881..fb7e9ebe 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -2,7 +2,7 @@ name: golangci-lint on: push: branches: - - master + - master pull_request: permissions: @@ -20,8 +20,7 @@ jobs: cache: false go-version: '1.20' - name: golangci-lint - uses: golangci/golangci-lint-action@v5 + uses: golangci/golangci-lint-action@v4 with: - version: 'latest' - args: '--timeout=60m' - skip-cache: true + args: --timeout=60m +