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
22
33on :
44 push :
5- branches :
6- - main
7- - dev
5+ # branches:
6+ # - main
7+ # - dev
88 pull_request :
9- branches :
10- - main
11- - dev
9+ # branches:
10+ # - main
11+ # - dev
1212jobs :
1313 # Job for building the backend (Go)
1414 backend :
1515 name : Build Backend (Go)
1616 runs-on : ubuntu-latest
17+ defaults :
18+ run :
19+ working-directory : ./server
1720
1821 steps :
1922 # Step 1: Checkout the code
@@ -42,12 +45,10 @@ jobs:
4245 # Step 5: Install Go dependencies
4346 - name : Install Go Dependencies
4447 run : go mod tidy
45- working-directory : ./server
4648
4749 # Step 6: Build the Go application
4850 - name : Build Go Application
4951 run : go build -o app ./main.go
50- working-directory : ./server
5152
5253 # Job for building the frontend (React)
5354 frontend :
You can’t perform that action at this time.
0 commit comments