Skip to content

Commit

Permalink
Tonic (#775)
Browse files Browse the repository at this point in the history
* chore: add tonic as a consensus server

* add tonic into run with importer

* lint

* lint
  • Loading branch information
renancloudwalk authored May 5, 2024
1 parent a4eb567 commit 4c3510d
Show file tree
Hide file tree
Showing 16 changed files with 308 additions and 766 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/_setup-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand All @@ -65,4 +68,4 @@ jobs:
env:
CARGO_PROFILE_RELEASE_DEBUG: 0
RUST_LOG: off
RELEASE: 1
RELEASE: 1
4 changes: 3 additions & 1 deletion .github/workflows/comment-tag-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Set up Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -39,4 +42,3 @@ jobs:
run: ruby utils/slack-notifiers/comments.rb
env:
SLACK_WEBHOOK_URL: ${{ secrets.STRATUS_SLACK_WEBHOOK_URL }}

5 changes: 4 additions & 1 deletion .github/workflows/doc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

- name: Test docs
run: just test-doc
run: just test-doc
3 changes: 3 additions & 0 deletions .github/workflows/e2e-contracts-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-contracts-rocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/int-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ jobs:
- name: Set up Rust Nightly
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-01-01

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

- name: Just lint-check
run: just lint-check -2024-01-01
run: just lint-check -2024-01-01
8 changes: 5 additions & 3 deletions .github/workflows/outdated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
uses: actions/checkout@v2

- name: Set up Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

Expand All @@ -36,4 +39,3 @@ jobs:
env:
SLACK_WEBHOOK_URL: ${{ secrets.STRATUS_SLACK_WEBHOOK_URL }}
OUTDATED_TABLE_FILE_NAME: outdated.txt

5 changes: 4 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ jobs:
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

- name: Install protobuf compiler
run: sudo apt-get install -y protobuf-compiler

- name: Set up Just
uses: extractions/setup-just@v1

- name: Unit tests
run: just test-unit
run: just test-unit
Loading

0 comments on commit 4c3510d

Please sign in to comment.