Skip to content

Commit

Permalink
Add sparse-checkout and cache-dependency-path to backend workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaralo committed Dec 19, 2023
1 parent b66542b commit 67f04b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: backend

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21
cache-dependency-path: ./backend/go.sum

- name: Install dependencies
working-directory: ./backend
Expand Down

0 comments on commit 67f04b4

Please sign in to comment.