Skip to content

Commit

Permalink
Merge pull request #3 from moonsama/parity-master
Browse files Browse the repository at this point in the history
Merge Parity master
  • Loading branch information
gogosama-dev authored Oct 3, 2023
2 parents bac783f + 6165c79 commit d18c4df
Show file tree
Hide file tree
Showing 233 changed files with 30,998 additions and 24,842 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Rust Setup
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.68.2
toolchain: nightly-2023-05-23
target: wasm32-unknown-unknown
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
24 changes: 12 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,35 @@ 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:
profile: minimal
toolchain: 1.68.2
toolchain: nightly-2023-05-23
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:
profile: minimal
toolchain: 1.68.2
toolchain: nightly-2023-05-23
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,28 +67,28 @@ 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:
profile: minimal
toolchain: 1.68.2
toolchain: nightly-2023-05-23
target: wasm32-unknown-unknown
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 d18c4df

Please sign in to comment.