Skip to content

Commit

Permalink
Update check-pull-requests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PreetinderSinghBadesha authored Jun 15, 2024
1 parent 0ab2608 commit 95e121f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/check-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: 1.20.4

- name: Install dependencies
run: cd backend && go mod tidy
run: go mod tidy
working-directory: ./backend

- name: Wait for Redis to be ready
run: |
Expand All @@ -45,7 +46,9 @@ jobs:
# - name: Run tests
# env:
# REDIS_URL: redis://localhost:6379
# run: cd backend && go test ./...
# run: go test ./...
# working-directory: ./backend

- name: Build the project
run: cd backend && go build -v -o main main.go
run: go build -v -o main main.go
working-directory: ./backend

0 comments on commit 95e121f

Please sign in to comment.