Skip to content

Commit 7c5abfa

Browse files
authored
Merge pull request #27 from maratori/ci
Split CI to separate jobs
2 parents eb8fe27 + 93348d6 commit 7c5abfa

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/ci.yaml

+16-6
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,36 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
ci:
23-
name: CI
22+
test:
2423
runs-on: ubuntu-latest
2524
steps:
2625
- uses: actions/checkout@v3
27-
2826
- uses: actions/setup-go@v3
2927
with:
3028
go-version: "1.x"
31-
3229
- name: Debug with tmate SSH if enabled
3330
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_ssh }}
3431
uses: mxschmitt/action-tmate@v3
35-
3632
- run: make test-cover
37-
3833
- uses: codecov/codecov-action@v3
3934

35+
lint:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v3
39+
- uses: actions/setup-go@v3
40+
with:
41+
go-version: "1.x"
4042
- uses: golangci/golangci-lint-action@v3
4143
with:
4244
version: "v1.46.2"
4345

46+
check-tidy:
47+
name: go mod tidy
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v3
51+
- uses: actions/setup-go@v3
52+
with:
53+
go-version: "1.x"
4454
- run: make check-tidy

0 commit comments

Comments
 (0)