From 1138e454927c746fee4a5a42ea0d78a8d9eb3461 Mon Sep 17 00:00:00 2001 From: utkarsh Date: Sat, 23 Mar 2024 23:29:14 +0530 Subject: [PATCH] lint.yaml --- .github/workflows/lint.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e69de29..64865a2 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -0,0 +1,30 @@ +name: lint + +on: + push: + branches: + - main + paths-ignore: + - "**.md" + pull_request: + branches: + - main + paths-ignore: + - "**.md" + +permissions: read-all + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v4 + with: + go-version: "1.20" + + - name: lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.52.0