Skip to content

Commit 9c82e90

Browse files
committed
Use action and rename workflow
1 parent 4f8de2d commit 9c82e90

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unit Tests
1+
name: Build and Test Go Project
22
on: [push, pull_request]
33

44
permissions:
@@ -26,7 +26,9 @@ jobs:
2626
run: go mod download
2727

2828
- name: Lint code
29-
run: script/lint
29+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
30+
with:
31+
version: v2.1.6
3032

3133
- name: Run unit tests
3234
run: go test -race ./...

0 commit comments

Comments
 (0)