Skip to content

Commit a647c2e

Browse files
Update ci.yml
1 parent e7c83e4 commit a647c2e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: CI Workflow
22

33
on:
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
1212
jobs:
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:

0 commit comments

Comments
 (0)