diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 00000000..2af6fea4 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,20 @@ +name: Lint + +on: + - push + - pull_request + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v2 + - name: setup go + uses: actions/setup-go@v3 + with: + go-version: "1.22.4" + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.59.1