workflows: move linter to tests from builds
This commit is contained in:
parent
f05a6eda7d
commit
25d273f88e
2 changed files with 12 additions and 12 deletions
13
.github/workflows/builds.yml
vendored
13
.github/workflows/builds.yml
vendored
|
@ -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
|
||||
|
|
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue