Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into ahmad-add-storage…
Browse files Browse the repository at this point in the history
…-limit-per-tx
  • Loading branch information
ahmadkaouk committed Sep 15, 2023
2 parents ca9e4d3 + aff019d commit 21bf9d0
Show file tree
Hide file tree
Showing 195 changed files with 26,347 additions and 23,684 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Rust Setup
uses: actions-rs/toolchain@v1
with:
Expand All @@ -21,7 +21,7 @@ jobs:
override: true
components: rust-docs
- name: Install protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: 'Check editorconfig'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Submodules
run: git submodule update --init --recursive
- name: Init
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: 'Run Rust tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Rust Setup
uses: actions-rs/toolchain@v1
with:
Expand All @@ -24,17 +24,17 @@ jobs:
target: wasm32-unknown-unknown
override: true
- name: Install protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: cargo test --locked --verbose --all
run: cargo test --release --locked --verbose --all

integration:
name: 'Run integration tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Rust Setup
uses: actions-rs/toolchain@v1
with:
Expand All @@ -43,7 +43,7 @@ jobs:
target: wasm32-unknown-unknown
override: true
- name: Install protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build client
Expand All @@ -67,7 +67,7 @@ jobs:
name: 'Run lints'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Rust Setup
uses: actions-rs/toolchain@v1
with:
Expand All @@ -77,18 +77,18 @@ jobs:
override: true
components: rustfmt, clippy
- name: Install protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check Cargo.toml Format
run: |
if taplo --version &> /dev/null; then
echo "taplo-cli is already installed"
else
cargo install taplo-cli
cargo install taplo-cli --locked
fi
taplo fmt --check
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all --features runtime-benchmarks,try-runtime -- -D warnings
run: cargo clippy --release --all --tests --features runtime-benchmarks,try-runtime -- -D warnings
Loading

0 comments on commit 21bf9d0

Please sign in to comment.