diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2020-11-15 23:59:01 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-11-16 10:02:57 +1100 |
commit | 6faed08d9de2841788b1eac4077862bc4ae682f1 (patch) | |
tree | 1993625b215034d5cfe3ac3c98079568b2e4bafc /.github | |
parent | 62b200a4be00c023e02aee94091bc898568557a5 (diff) |
workflows: clean up linting
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 41 |
1 files changed, 10 insertions, 31 deletions
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 |