Skip to content

Add endpoint RPC/stream to get the call stacks #189

Add endpoint RPC/stream to get the call stacks

Add endpoint RPC/stream to get the call stacks #189

Workflow file for this run

name: CI/CD
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
with:
version: "1.25.1"
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
# The 'main' branch of the GitHub repository that defines the module.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"
trigger-remote-build:
needs: check
if: ${{ github.ref == 'refs/heads/main' }}
strategy:
matrix:
repo: ['massalabs/massa-proto-rs', 'massalabs/massa-proto-as']
runs-on: ubuntu-latest
steps:
- name: Trigger proto bindings remote build
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.CI_PROTO_GENERATION }}
repository: ${{ matrix.repo }}
event-type: remote-build
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'