Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8885000

Browse files
committed
add cache to CI
1 parentb166bb0 commit8885000

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp