Skip to content

Commit 1edd279

Browse files
authored
ci: add build testing
1 parent 027c24c commit 1edd279

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
pull_request:
7+
branches:
8+
- main
9+
- dev
10+
11+
merge_group:
12+
13+
jobs:
14+
Test:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Setup Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: 1.20
24+
25+
- name: Install dependencies
26+
run: go mod download
27+
28+
- name: Build
29+
run: go build -v -o ./backend

0 commit comments

Comments
 (0)