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