Skip to content

Commit

Permalink
Split CI to separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
maratori committed Jun 22, 2022
1 parent eb8fe27 commit 93348d6
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yaml
Expand Up @@ -19,26 +19,36 @@ concurrency:
cancel-in-progress: true

jobs:
ci:
name: CI
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
with:
go-version: "1.x"

- name: Debug with tmate SSH if enabled
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_ssh }}
uses: mxschmitt/action-tmate@v3

- run: make test-cover

- uses: codecov/codecov-action@v3

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.x"
- uses: golangci/golangci-lint-action@v3
with:
version: "v1.46.2"

check-tidy:
name: go mod tidy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.x"
- run: make check-tidy

0 comments on commit 93348d6

Please sign in to comment.