diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0737f9d38..25659077e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,35 +1,14 @@ -name: golangci-lint -on: - pull_request: - types: - - labeled - - unlabeled - - synchronize - - opened - - edited - - ready_for_review - - reopened - - unlocked - pull_request_review: - types: - - submitted - check_suite: - types: - - completed - status: {} +name: Lint + +on: pull_request + jobs: - golangci: - strategy: - matrix: - go-version: - - 1.14.x - os: - - ubuntu-latest - name: lint - runs-on: ${{ matrix.os }} + lint: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: golangci-lint + - name: Checkout + uses: actions/checkout@v2 + - name: Lint uses: golangci/golangci-lint-action@v2 with: - version: v1.29 + version: latest