Skip to content

Commit 047ca98

Browse files
committed
try caching docker info
1 parent 3675204 commit 047ca98

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test-database.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
cache: "pnpm"
2626
- name: Install Dependencies
2727
run: pnpm install --frozen-lockfile
28+
- name: Get supabase version
29+
run: echo ::set-env name=SUPABASE_VERSION::$(supabase --version)')
30+
- name: Cache Docker images.
31+
uses: ScribeMD/docker-cache@0.5.0
32+
with:
33+
key: docker-${{ runner.os }}-${{ SUPABASE_VERSION }}
2834
- name: Setup database
2935
working-directory: ./packages/database
3036
run: pnpm run setup

0 commit comments

Comments
 (0)