Skip to content

Commit ff8269b

Browse files
fix(ci-go.yml): replace make check with golangci-lint actions
Signed-off-by: Dusan Malusev <[email protected]>
1 parent 544ec74 commit ff8269b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/go.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
branches: [ master ]
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
checks: write
14+
1015
jobs:
1116
build-lint-test:
1217
name: Build Lint and Test
@@ -17,14 +22,14 @@ jobs:
1722
uses: actions/setup-go@v5
1823
with:
1924
go-version: '1.17'
20-
- name: Build
21-
run: make build
22-
- name: Linting
23-
run: make check
2425
- name: Set up gotestfmt
2526
uses: GoTestTools/gotestfmt-action@v2
2627
with:
2728
repo: gotestfmt
28-
version: v2.2.0
29+
version: v2.5.0
30+
- name: Build
31+
run: make build
2932
- name: Unit Tests
3033
run: make test
34+
- uses: golangci/golangci-lint-action@v6
35+
name: Linting

0 commit comments

Comments
 (0)