Skip to content

Commit

Permalink
ci: protoc fix (#3566)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Aug 30, 2022
1 parent 634f4c2 commit 8a66efb
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
toolchain: stable
components: clippy
override: true
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache rust cargo artifacts
uses: swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
Expand All @@ -55,6 +60,11 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install rust stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -94,7 +104,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/jsonrpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
override: true
- name: Add Rust cache
uses: Swatinem/rust-cache@v1.3.0
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: npm install
run: |
cd deltachat-jsonrpc/typescript
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/node-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
cargo -vV
npm --version
node --version
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache node modules
uses: actions/cache@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ jobs:
cargo -vV
npm --version
node --version
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.20.1'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache node modules
uses: actions/cache@v2
with:
Expand Down

0 comments on commit 8a66efb

Please sign in to comment.