Skip to content

Commit 3fa479d

Browse files
committed
fix: Fix linter run
1 parent 51c5627 commit 3fa479d

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/build.yaml

+4-12
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@ on:
77
- master
88

99
jobs:
10-
go-linter:
11-
name: Go Linter
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15-
- uses: golangci/golangci-lint-action@v2
16-
with:
17-
version: v1.52.0
18-
args: --timeout=5m
19-
20-
run-tests:
10+
lint-and-tests:
2111
name: Run Tests
2212
runs-on: ubuntu-latest
2313
steps:
@@ -26,6 +16,8 @@ jobs:
2616
uses: actions/setup-go@v3
2717
with:
2818
go-version: "^1.20.1"
19+
- name: lint
20+
run: make lint
2921
- name: Run unit tests
3022
run: make test
3123
- name: Run integration tests
@@ -34,7 +26,7 @@ jobs:
3426
create-release:
3527
name: Create Release
3628
if: ${{ github.ref == 'refs/heads/master' }}
37-
needs: [run-tests, go-linter]
29+
needs: [lint-and-tests]
3830
runs-on: ubuntu-latest
3931
steps:
4032
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)