From 3db5368c1ce17fa0b159853775edeba4bc6c1dda Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Wed, 22 Nov 2023 11:24:25 -0500 Subject: [PATCH] Fix hash paths. --- .github/workflows/api-check.yaml | 4 ++-- .github/workflows/web-check.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-check.yaml b/.github/workflows/api-check.yaml index ff7ce35..8981816 100644 --- a/.github/workflows/api-check.yaml +++ b/.github/workflows/api-check.yaml @@ -28,7 +28,7 @@ jobs: ~/.cargo/registry ~/.cargo/git ./api/target - key: ${{ runner.os }}-rust-${{ hashFiles('Cargo.toml') }} + key: ${{ runner.os }}-rust-${{ hashFiles('api/Cargo.toml') }} - name: Build run: cd api && cargo build @@ -57,7 +57,7 @@ jobs: ~/.cargo/registry ~/.cargo/git ./api/target - key: ${{ runner.os }}-rust-lint-${{ hashFiles('Cargo.toml') }} + key: ${{ runner.os }}-rust-lint-${{ hashFiles('api/Cargo.toml') }} - name: Rustfmt run: cd api && cargo fmt --all -- --check diff --git a/.github/workflows/web-check.yaml b/.github/workflows/web-check.yaml index 7a915cc..8bffcaf 100644 --- a/.github/workflows/web-check.yaml +++ b/.github/workflows/web-check.yaml @@ -26,7 +26,7 @@ jobs: uses: actions/cache@v2 with: path: ./node_modules - key: ${{ runner.os }}-node-${{ hashFiles('package.json') }} + key: ${{ runner.os }}-node-${{ hashFiles('web/package.json') }} - name: Build app run: cd web && npm run build