Skip to content

Commit

Permalink
ci: set substreams auth token, use protoc gh action
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tate <ryan.michael.tate@gmail.com>
  • Loading branch information
Ryanmtate committed Sep 27, 2022
1 parent 153d30b commit 54b331c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@ jobs:
cache: enable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: request streaming fast authentication token
run: |
FIREHOSE_API_TOKEN=$(curl https://auth.dfuse.io/v1/auth/issue -s --data-binary '{"api_key":"${{secrets.STREAMING_FAST}}"}' | jq -r .token)
echo "SUBSTREAMS_API_TOKEN=$FIREHOSE_API_TOKEN" >> $GITHUB_ENV
- name: install buf
uses: bufbuild/buf-setup-action@v1.7.0
- name: install protoc
env:
PROTOC_ZIP: protoc-3.14.0-linux-x86_64.zip
run: |
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/$PROTOC_ZIP
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
rm -f $PROTOC_ZIP
sudo chmod +x /usr/local/bin/protoc
uses: arduino/setup-protoc@v1
with:
version: '3.14.0'
- name: rust-toolchain
uses: actions-rs/toolchain@v1.0.6
with:
Expand Down

0 comments on commit 54b331c

Please sign in to comment.