Skip to content

Commit

Permalink
feat: workflow cache
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Sep 5, 2024
1 parent 42abdb5 commit a33fce2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '^1.23'
cache-dependency-path: "**/go.sum"

- name: Install Protoc
uses: arduino/setup-protoc@v3
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/test-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
cache-dependency-path: 'ts/package.json'

- name: Install ts dependencies
run: cd ts && pnpm install

- name: Install Protoc
uses: arduino/setup-protoc@v3

Expand Down

0 comments on commit a33fce2

Please sign in to comment.