File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 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
@@ -35,19 +38,19 @@ jobs:
3538          restore-keys : | 
3639            ${{ runner.os }}-go- 
3740
38-        #  Step 4: Run Go Linter
39-       - name : Run GolangCI-Lint Check 
40-         uses : golangci/golangci-lint-action@v6 
41- 
42-       #  Step 5: Install Go dependencies
41+        #  Step 4: Install Go dependencies
4342      - name : Install Go Dependencies 
4443        run : go mod tidy 
45-         working-directory : ./server 
44+         
45+       #  Step 5: Run Go Linter
46+       - name : Run GolangCI-Lint Check 
47+         uses : golangci/golangci-lint-action@v6 
48+         with :
49+           working-directory : ./server 
4650
4751      #  Step 6: Build the Go application
4852      - name : Build Go Application 
4953        run : go build -o app ./main.go 
50-         working-directory : ./server 
5154
5255  #  Job for building the frontend (React)
5356  frontend :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments