Skip to content

Commit

Permalink
Github actions: Cache webrpc templates between CI jobs (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Dec 21, 2022
1 parent 0b3c7e2 commit 935d0a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Set up webrpc cache folder
uses: actions/cache@v3
with:
key: webrpc-cache
path: /tmp/webrpc-cache
- name: Test
run: make test

Expand All @@ -31,6 +36,11 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Set up webrpc cache folder
uses: actions/cache@v3
with:
key: webrpc-cache
path: /tmp/webrpc-cache
- name: Build
run: go install ./cmd/webrpc-gen
- name: Regenerate examples
Expand Down

0 comments on commit 935d0a4

Please sign in to comment.