Skip to content

Commit

Permalink
Support Protobuf and gRPC (#3443)
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef authored Apr 4, 2023
1 parent 8512742 commit 9a93440
Show file tree
Hide file tree
Showing 66 changed files with 8,948 additions and 47 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release:
strategy:
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ env:
RUST_BACKTRACE: full
RUSTFLAGS: "--deny warnings"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
# Quick tests on each commit/PR
sanity:
Expand Down Expand Up @@ -56,6 +60,10 @@ jobs:
with:
shared-key: "check"
save-if: ${{ github.ref_name == 'testnet_21' }}
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: check
Expand All @@ -79,6 +87,10 @@ jobs:
with:
shared-key: "clippy"
save-if: ${{ github.ref_name == 'testnet_21' }}
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -109,6 +121,10 @@ jobs:
with:
shared-key: "massa"
save-if: ${{ github.ref_name == 'testnet_21' }}
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: install
Expand Down Expand Up @@ -181,10 +197,14 @@ jobs:
with:
shared-key: "doc"
save-if: ${{ github.ref_name == 'testnet_21' }}
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps
args: --no-deps --all-features --document-private-items
- uses: JamesIves/[email protected]
with:
branch: gh-pages
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
security_audit:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 9a93440

Please sign in to comment.