-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #908 from opentensor/devnet-ready
deploy evm to devnet
- Loading branch information
Showing
30 changed files
with
4,098 additions
and
1,175 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: cargo audit | ||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
concurrency: | ||
group: cargo-audit-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
cargo-audit: | ||
name: cargo audit | ||
runs-on: SubtensorCI | ||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cargo-audit') }} | ||
steps: | ||
- name: Check-out repositoroy under $GITHUB_WORKSPACE | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update && | ||
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler | ||
- name: Install Rust Stable | ||
uses: actions-rs/[email protected] | ||
with: | ||
toolchain: stable | ||
components: rustfmt, clippy | ||
profile: minimal | ||
|
||
- name: Utilize Shared Rust Cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
key: ubuntu-latest-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: Install cargo-audit | ||
run: cargo install --version 0.20.1 cargo-audit | ||
|
||
- name: cargo audit | ||
run: cargo audit --ignore RUSTSEC-2024-0336 # rustls issue; wait for upstream to resolve this |
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 |
---|---|---|
|
@@ -208,37 +208,6 @@ jobs: | |
|
||
- name: cargo clippy --workspace --all-targets --all-features -- -D warnings | ||
run: cargo clippy --workspace --all-targets --all-features -- -D warnings | ||
# runs cargo audit | ||
cargo-audit: | ||
name: cargo audit | ||
runs-on: SubtensorCI | ||
if: ${{ github.event_name != 'push' && !contains(github.event.pull_request.labels.*.name, 'skip-cargo-audit') }} | ||
steps: | ||
- name: Check-out repositoroy under $GITHUB_WORKSPACE | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update && | ||
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler | ||
- name: Install Rust Stable | ||
uses: actions-rs/[email protected] | ||
with: | ||
toolchain: stable | ||
components: rustfmt, clippy | ||
profile: minimal | ||
|
||
- name: Utilize Shared Rust Cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
key: ubuntu-latest-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: Install cargo-audit | ||
run: cargo install cargo-audit | ||
|
||
- name: cargo audit | ||
run: cargo audit --ignore RUSTSEC-2024-0336 # rustls issue; wait for upstream to resolve this | ||
|
||
# runs cargo test --workspace | ||
cargo-test: | ||
|
Oops, something went wrong.