From f28404079001baca46196369da3251ebe7020aab Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 30 May 2023 21:51:55 +0200 Subject: [PATCH] Cache dependencies in CI job --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8feceb..a983cd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} + cache-dependency-path: go.sum - name: Install Wails run: go install github.com/wailsapp/wails/v2/cmd/wails@latest @@ -35,6 +36,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: npm + cache-dependency-path: frontend/package-lock.json - name: Install frontend dependencies run: cd frontend && npm ci && cd ..