diff options
Diffstat (limited to '.github/workflows/golangci-lint.yml')
-rw-r--r-- | .github/workflows/golangci-lint.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml new file mode 100644 index 000000000..668333f85 --- /dev/null +++ b/.github/workflows/golangci-lint.yml @@ -0,0 +1,16 @@ +name: golangci-lint +on: + pull_request: +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: '1.18' + - uses: actions/checkout@v3 + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.46.2 |