Skip to content

Commit 5afec04

Browse files
committed
feat: add GitHub Actions workflow to run Go tests
1 parent 56f00e7 commit 5afec04

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/.go.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Go
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Go
14+
uses: actions/setup-go@v5
15+
with:
16+
go-version: "1.21.x"
17+
18+
- name: Install dependencies
19+
run: go get -v ./...
20+
21+
- name: Run tests
22+
run: make test

0 commit comments

Comments
 (0)