Skip to content

Commit 189de2c

Browse files
committed
chore: separate linter and unit test jobs to allow for a go version compatible with the linter
golangci/golangci-lint-action#434 (comment)
1 parent 9399724 commit 189de2c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/test_and_release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,20 @@ jobs:
1313
- uses: actions/setup-go@v2
1414
with:
1515
go-version: ${{ steps.go-version.outputs.go-version }}
16+
- name: Unit tests
17+
run: |
18+
make test race
19+
lint:
20+
runs-on: ubuntu-20.04
21+
steps:
22+
- uses: actions/[email protected]
23+
- uses: actions/setup-go@v2
24+
with:
25+
go-version: 1.17
1626
- name: Lint
1727
uses: golangci/[email protected]
1828
with:
1929
version: v1.31
20-
skip-go-installation: true
21-
- name: Unit tests
22-
run: |
23-
make test race
2430
spec-test:
2531
runs-on: ubuntu-20.04
2632
steps:

0 commit comments

Comments
 (0)