From 25d273f88ee1b2db43bfa315edd211fb33db77f9 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 30 Apr 2021 19:09:41 +0300 Subject: [PATCH] workflows: move linter to tests from builds --- .github/workflows/builds.yml | 13 +------------ .github/workflows/tests.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3d48f16..078d286 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -1,4 +1,4 @@ -name: Builds and lints +name: Builds on: pull_request: @@ -10,17 +10,6 @@ on: workflow_dispatch: jobs: - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 - with: - version: latest - build_cli: name: Build CLI runs-on: ubuntu-18.04 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6ac620..529f986 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,17 @@ on: workflow_dispatch: jobs: + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + cover: name: Coverage runs-on: ubuntu-18.04