Skip to content

Commit

Permalink
chore: Update tonic
Browse files Browse the repository at this point in the history
  • Loading branch information
realtimetodie committed Oct 25, 2022
1 parent 836a6de commit 6cab7b8
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 88 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
# to disallow that.
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Duplicate checksums file
run: cp wasm/checksums.json wasm/original-checksums.json
- name: Build WASM
Expand Down Expand Up @@ -139,6 +144,16 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Setup protoc (macos-latest)
if: matrix.os == 'macos-latest'
run: |
brew install protobuf
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Install sccache (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
# to disallow that.
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Duplicate checksums file
run: cp wasm/checksums.json wasm/original-checksums.json
- name: Build WASM
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
# See comment in build-and-test.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Setup rust toolchain
uses: oxidecomputer/actions-rs_toolchain@ad3f86084a8a5acf2c09cb691421b31cf8af7a36
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Install sccache (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
env:
Expand Down Expand Up @@ -162,6 +167,11 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Install sccache (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
env:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Setup protoc (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Setup protoc (macos-latest)
if: matrix.os == 'macos-latest'
run: |
brew install protobuf
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
- name: Install sccache (ubuntu-latest)
if: matrix.os == 'ubuntu-latest'
env:
Expand Down

0 comments on commit 6cab7b8

Please sign in to comment.