golangci-lint.yml (310B)
1 name: golangci-lint 2 on: 3 push: 4 branches: [main] 5 pull_request: 6 branches: [main] 7 jobs: 8 golangci: 9 name: lint 10 runs-on: ubuntu-latest 11 steps: 12 - uses: actions/checkout@v2 13 - name: golangci-lint 14 uses: golangci/golangci-lint-action@v2 15 with: 16 version: latest