From 6faed08d9de2841788b1eac4077862bc4ae682f1 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 15 Nov 2020 23:59:01 +0100 Subject: workflows: clean up linting --- .github/workflows/lint.yml | 41 ++++++++++------------------------------- 1 file changed, 10 insertions(+), 31 deletions(-) (limited to '.github') 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 -- cgit v1.2.3