diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..e834da9 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,24 @@ +name: lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + lint: + name: golang + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: | + make common + + - name: lint + uses: golangci/golangci-lint-action@v2 + with: + version: v1.29