Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit 9962abf

Browse files
committed
use cache, if info.rkt have no changes
Signed-off-by: Lîm Tsú-thuàn <[email protected]>
1 parent b7b4142 commit 9962abf

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

workflow-templates/racket/racket-gui-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ jobs:
2727
racket-version: ["stable", "current"]
2828
steps:
2929
- uses: actions/checkout@master
30+
- name: cache racket modules
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
~/.cache/racket
35+
~/.local/share/racket
36+
key: ${{ runner.os }}-${{ hashFiles('**/info.rkt') }}
37+
restore-keys: |
38+
${{ runner.os }}-
3039
- name: Setup Racket
3140
uses: Bogdanp/[email protected]
3241
with:

workflow-templates/racket/racket-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ jobs:
2727
racket-version: ["stable", "current"]
2828
steps:
2929
- uses: actions/checkout@master
30+
- name: cache racket modules
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
~/.cache/racket
35+
~/.local/share/racket
36+
key: ${{ runner.os }}-${{ hashFiles('**/info.rkt') }}
37+
restore-keys: |
38+
${{ runner.os }}-
3039
- name: Setup Racket
3140
uses: Bogdanp/[email protected]
3241
with:

0 commit comments

Comments
 (0)