Skip to content

Commit

Permalink
Fix hash paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Nov 22, 2023
1 parent 1466803 commit 3db5368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3db5368

Please sign in to comment.