Skip to content

Commit 8fd86a8

Browse files
authored
Create go.yml
1 parent 3a959c4 commit 8fd86a8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/go.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Go
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
pull_request:
6+
branches: [ "main" ]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Go
14+
uses: actions/setup-go@v4
15+
with:
16+
go-version: '1.22'
17+
- name: Build
18+
run: go build -v ./...
19+
- name: Test
20+
run: go test -v ./...

0 commit comments

Comments
 (0)