File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -346,6 +346,13 @@ jobs:
346
346
- name : Setup Terraform
347
347
uses : ./.github/actions/setup-tf
348
348
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-tests
354
+ key : test-go-${{ runner.os }}-coderv2-tests
355
+
349
356
- name : Test with Mock Database
350
357
id : test
351
358
shell : bash
@@ -467,6 +474,13 @@ jobs:
467
474
if : runner.os == 'Windows'
468
475
uses : ./.github/actions/setup-imdisk
469
476
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-tests
482
+ key : test-go-pg-${{ runner.os }}-coderv2-tests
483
+
470
484
- name : Test with PostgreSQL Database
471
485
env :
472
486
POSTGRES_VERSION : " 13"
@@ -519,6 +533,13 @@ jobs:
519
533
- name : Setup Terraform
520
534
uses : ./.github/actions/setup-tf
521
535
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-tests
541
+ key : test-go-pg-16-${{ runner.os }}-coderv2-tests
542
+
522
543
- name : Test with PostgreSQL Database
523
544
env :
524
545
POSTGRES_VERSION : " 16"
You can’t perform that action at this time.
0 commit comments