-
Notifications
You must be signed in to change notification settings - Fork 682
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 #5690 from stacks-network/clarity-wasm-merge-develop
merge develop into feat/clarity-wasm-develop
- Loading branch information
Showing
298 changed files
with
7,100 additions
and
5,410 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
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,40 @@ | ||
## Perform Clippy checks - currently set to defaults | ||
## https://github.com/rust-lang/rust-clippy#usage | ||
## https://rust-lang.github.io/rust-clippy/master/index.html | ||
## | ||
name: Clippy Checks | ||
|
||
# Only run when: | ||
# - PRs are (re)opened against develop branch | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
clippy_check: | ||
name: Clippy Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the latest code | ||
id: git_checkout | ||
uses: actions/checkout@v3 | ||
- name: Define Rust Toolchain | ||
id: define_rust_toolchain | ||
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV | ||
- name: Setup Rust Toolchain | ||
id: setup_rust_toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN }} | ||
components: clippy | ||
- name: Clippy | ||
id: clippy | ||
uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings |
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,33 @@ | ||
name: Core build tests | ||
|
||
# Only run when: | ||
# - PRs are (re)opened against develop branch | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
check-consts: | ||
name: Check the constants from stacks-inspect | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the latest code | ||
id: git_checkout | ||
uses: actions/checkout@v3 | ||
- name: Define Rust Toolchain | ||
id: define_rust_toolchain | ||
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV | ||
- name: Setup Rust Toolchain | ||
id: setup_rust_toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN }} | ||
- name: Build the binaries | ||
id: build | ||
run: | | ||
cargo build | ||
- name: Dump constants JSON | ||
id: consts-dump | ||
run: cargo run --bin stacks-inspect -- dump-consts | tee out.json | ||
- name: Set expected constants JSON | ||
id: expects-json | ||
run: diff out.json ./sample/expected_consts.json |
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.