File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -346,6 +346,13 @@ jobs:
346346 - name : Setup Terraform
347347 uses : ./.github/actions/setup-tf
348348
349+ - name : Cache
350+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
351+ with :
352+ # This path is defined in testutil/cache.go
353+ path : ~/.cache/coderv2-test
354+ key : test-go-${{ runner.os }}-coderv2-test
355+
349356 - name : Test with Mock Database
350357 id : test
351358 shell : bash
@@ -467,6 +474,13 @@ jobs:
467474 if : runner.os == 'Windows'
468475 uses : ./.github/actions/setup-imdisk
469476
477+ - name : Cache
478+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
479+ with :
480+ # This path is defined in testutil/cache.go
481+ path : ~/.cache/coderv2-test
482+ key : test-go-pg-${{ runner.os }}-coderv2-test
483+
470484 - name : Test with PostgreSQL Database
471485 env :
472486 POSTGRES_VERSION : " 13"
@@ -519,6 +533,13 @@ jobs:
519533 - name : Setup Terraform
520534 uses : ./.github/actions/setup-tf
521535
536+ - name : Cache
537+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
538+ with :
539+ # This path is defined in testutil/cache.go
540+ path : ~/.cache/coderv2-test
541+ key : test-go-pg-16-${{ runner.os }}-coderv2-test
542+
522543 - name : Test with PostgreSQL Database
523544 env :
524545 POSTGRES_VERSION : " 16"
You can’t perform that action at this time.
0 commit comments