Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 1583ac8

Browse files
authored
feat: add test to ci job (#3)
1 parent 5356f81 commit 1583ac8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: golangci-lint
1+
name: test
22
on: push
33
jobs:
44
golangci:
@@ -11,3 +11,12 @@ jobs:
1111
with:
1212
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
1313
version: v1.29
14+
test:
15+
name: unit-test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-go@v2
20+
with:
21+
go-version: '^1.15.1' # The Go version to download (if necessary) and use.
22+
- run: make test

0 commit comments

Comments
 (0)