@@ -253,6 +253,18 @@ jobs:
253253 ~/.cache/pypoetry/virtualenvs
254254 key : ${{ runner.os }}-python-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
255255
256+ - name : Cache Cargo build artifacts
257+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
258+ with :
259+ path : |
260+ ~/.cargo/registry/index/
261+ ~/.cargo/registry/cache/
262+ ~/.cargo/git/db/
263+ target/
264+ key : ${{ runner.os }}-cargo-postgres-${{ hashFiles('**/Cargo.lock') }}
265+ restore-keys : |
266+ ${{ runner.os }}-cargo-postgres-
267+
256268 - name : Create test results directory
257269 run : mkdir -p workflow/test-results
258270
@@ -289,6 +301,9 @@ jobs:
289301 env :
290302 SYNC_SYNCSTORAGE__ENFORCE_QUOTA : 1
291303
304+ - name : Install Poetry
305+ run : pip3 install poetry
306+
292307 - name : Run Postgres utils tests
293308 working-directory : tools/postgres
294309 run : |
@@ -511,6 +526,18 @@ jobs:
511526 ~/.cache/pypoetry/virtualenvs
512527 key : ${{ runner.os }}-python-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
513528
529+ - name : Cache Cargo build artifacts
530+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
531+ with :
532+ path : |
533+ ~/.cargo/registry/index/
534+ ~/.cargo/registry/cache/
535+ ~/.cargo/git/db/
536+ target/
537+ key : ${{ runner.os }}-cargo-mysql-${{ hashFiles('**/Cargo.lock') }}
538+ restore-keys : |
539+ ${{ runner.os }}-cargo-mysql-
540+
514541 - name : Create test results directory
515542 run : mkdir -p workflow/test-results
516543
@@ -763,6 +790,18 @@ jobs:
763790 ~/.cache/pypoetry/virtualenvs
764791 key : ${{ runner.os }}-python-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
765792
793+ - name : Cache Cargo build artifacts
794+ uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
795+ with :
796+ path : |
797+ ~/.cargo/registry/index/
798+ ~/.cargo/registry/cache/
799+ ~/.cargo/git/db/
800+ target/
801+ key : ${{ runner.os }}-cargo-spanner-${{ hashFiles('**/Cargo.lock') }}
802+ restore-keys : |
803+ ${{ runner.os }}-cargo-spanner-
804+
766805 - name : Create test results directory
767806 run : mkdir -p workflow/test-results
768807
0 commit comments