-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libp2p get providers and handle peer requests for records (#185)
Includes: * cargo docs pre-commit and ci * more event / record handling * backs up to provider if get_record (via put) fails
- Loading branch information
Zeeshan Lakhani
authored
Jul 10, 2023
1 parent
307d234
commit 0b39147
Showing
29 changed files
with
1,129 additions
and
1,799 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,21 +16,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Rust Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
override: true | ||
toolchain: nightly | ||
components: llvm-tools-preview | ||
profile: minimal | ||
id: toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
|
||
- name: Override rust-toolchain.toml | ||
run: rustup override set ${{steps.toolchain.outputs.name}} | ||
|
||
- name: Cache Project | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -51,10 +45,7 @@ jobs: | |
run: "./grcov . --llvm --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o lcov.info" | ||
|
||
- name: Install covfix | ||
uses: actions-rs/[email protected] | ||
with: | ||
crate: rust-covfix | ||
use-tool-cache: true | ||
run: cargo install --force rust-covfix | ||
|
||
- name: Run covfix | ||
run: rust-covfix lcov.info -o lcov.info --verbose | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.