From 3163755857951b90dfa16a108e05d3a9c540612c Mon Sep 17 00:00:00 2001 From: Azanul Date: Mon, 16 Oct 2023 23:46:57 +0530 Subject: [PATCH] fix: golangci lint Signed-off-by: Azanul --- .github/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dffddfc31..c0213f7fd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,5 @@ name: Lint -on: - push: +on: pull_request jobs: lint: @@ -8,10 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Setup go uses: actions/setup-go@v4 with: go-version-file: go.mod + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: