-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/development' into sam-revamp-dep…
…loyment
- Loading branch information
Showing
75 changed files
with
5,381 additions
and
36,992 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 |
---|---|---|
|
@@ -71,9 +71,8 @@ jobs: | |
- name: cargo fmt | ||
run: cargo fmt --check --all | ||
|
||
# runs cargo check --workspace | ||
cargo-check: | ||
name: cargo check | ||
cargo-clippy-default-features: | ||
name: cargo clippy | ||
runs-on: SubtensorCI | ||
strategy: | ||
matrix: | ||
|
@@ -117,12 +116,11 @@ jobs: | |
with: | ||
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: cargo check --workspace | ||
run: cargo check --workspace | ||
- name: cargo clippy --workspace --all-targets -- -D warnings | ||
run: cargo clippy --workspace --all-targets -- -D warnings | ||
|
||
# runs cargo test --workspace | ||
cargo-test: | ||
name: cargo test | ||
cargo-clippy-all-features: | ||
name: cargo clippy --all-features | ||
runs-on: SubtensorCI | ||
strategy: | ||
matrix: | ||
|
@@ -147,7 +145,7 @@ jobs: | |
TARGET: ${{ matrix.rust-target }} | ||
steps: | ||
- name: Check-out repository under $GITHUB_WORKSPACE | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -161,17 +159,17 @@ jobs: | |
components: rustfmt, clippy | ||
profile: minimal | ||
|
||
- name: Utilize Rust shared cached | ||
- name: Utilize Shared Rust Cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: cargo test --workspace | ||
run: cargo test --workspace | ||
- name: cargo clippy --workspace --all-targets --all-features -- -D warnings | ||
run: cargo clippy --workspace --all-targets --all-features -- -D warnings | ||
|
||
# runs cargo test --workspace --features=runtime-benchmarks | ||
cargo-test-benchmarks: | ||
name: cargo test w/benchmarks | ||
# runs cargo test --workspace | ||
cargo-test: | ||
name: cargo test | ||
runs-on: SubtensorCI | ||
strategy: | ||
matrix: | ||
|
@@ -215,12 +213,12 @@ jobs: | |
with: | ||
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: cargo test --workspace --features=runtime-benchmarks | ||
run: cargo test --workspace --features=runtime-benchmarks | ||
- name: cargo test --workspace | ||
run: cargo test --workspace | ||
|
||
# runs cargo clippy | ||
clippy: | ||
name: cargo clippy | ||
# runs cargo test --workspace --features=runtime-benchmarks | ||
cargo-test-benchmarks: | ||
name: cargo test w/benchmarks | ||
runs-on: SubtensorCI | ||
strategy: | ||
matrix: | ||
|
@@ -264,13 +262,8 @@ jobs: | |
with: | ||
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }} | ||
|
||
- name: cargo clippy | ||
run: | | ||
cargo clippy -- -D clippy::panic \ | ||
-D clippy::todo \ | ||
-D clippy::unimplemented | ||
# -D clippy::indexing_slicing \ | ||
# -D clippy::unwrap_used \ | ||
- name: cargo test --workspace --features=runtime-benchmarks | ||
run: cargo test --workspace --features=runtime-benchmarks | ||
|
||
# ensures cargo fix has no trivial changes that can be applied | ||
cargo-fix: | ||
|
@@ -333,7 +326,7 @@ jobs: | |
check-feature-propagation: | ||
name: zepter run check | ||
runs-on: ubuntu-latest | ||
runs-on: SubtensorCI | ||
|
||
steps: | ||
- name: Install stable Rust | ||
|
@@ -355,7 +348,7 @@ jobs: | |
|
||
check-finney-migrations: | ||
name: check finney migrations | ||
runs-on: ubuntu-22.04 | ||
runs-on: SubtensorCI | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
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 |
---|---|---|
|
@@ -34,4 +34,7 @@ specs/*.json | |
*.orig | ||
|
||
# VSCode configuration | ||
.vscode | ||
.vscode | ||
|
||
# IntelliJ IDEA configuration | ||
.idea |
Oops, something went wrong.