File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ name: CI Workflow
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
7
- - dev
5
+ # branches:
6
+ # - main
7
+ # - dev
8
8
pull_request :
9
- branches :
10
- - main
11
- - dev
9
+ # branches:
10
+ # - main
11
+ # - dev
12
12
jobs :
13
13
# Job for building the backend (Go)
14
14
backend :
15
15
name : Build Backend (Go)
16
16
runs-on : ubuntu-latest
17
+ defaults :
18
+ run :
19
+ working-directory : ./server
17
20
18
21
steps :
19
22
# Step 1: Checkout the code
@@ -42,12 +45,10 @@ jobs:
42
45
# Step 5: Install Go dependencies
43
46
- name : Install Go Dependencies
44
47
run : go mod tidy
45
- working-directory : ./server
46
48
47
49
# Step 6: Build the Go application
48
50
- name : Build Go Application
49
51
run : go build -o app ./main.go
50
- working-directory : ./server
51
52
52
53
# Job for building the frontend (React)
53
54
frontend :
You can’t perform that action at this time.
0 commit comments