Skip to content

Commit

Permalink
fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jul 26, 2023
1 parent 76e5e34 commit 9922b57
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
pnpm run playwright-install
- name: Make JS assets available for consequent builds
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./browser/data-browser/dist
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/**') }}
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/data-browser/src/**') }}
restore-keys: |
${{ runner.os }}-js-deps-
Expand All @@ -71,13 +71,13 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Needs to match with build_js cache step
- name: Restore Cached Packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./browser/data-browser/dist
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/**') }}
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/data-browser/src/**') }}

- uses: actions-rs/toolchain@v1
with:
Expand All @@ -87,18 +87,18 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v1.3.0

- run: rustup component add clippy
- uses: actions-rs/cargo@v1
name: cargo clippy
with:
command: clippy

- uses: actions-rs/cargo@v1
name: cargo build
with:
command: build
args: --locked

- run: rustup component add clippy
- uses: actions-rs/cargo@v1
name: cargo clippy
with:
command: clippy

- uses: taiki-e/install-action@nextest
- uses: actions-rs/cargo@v1
name: cargo nextest run
Expand Down

0 comments on commit 9922b57

Please sign in to comment.