Skip to content

Commit 7196360

Browse files
authored
Create ci.yml
1 parent 2ee12fa commit 7196360

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Set up Go
16+
uses: actions/setup-go@v4
17+
with:
18+
go-version: '1.21'
19+
20+
- name: Gotestsum installer
21+
uses: autero1/[email protected]
22+
with:
23+
gotestsum_version: '1.11.0'
24+
25+
- name: Test
26+
run: gotestsum --format testname ./...

0 commit comments

Comments
 (0)