Skip to content

Commit

Permalink
Merge pull request #21 from perun-network/update_substrate
Browse files Browse the repository at this point in the history
Update substrate
  • Loading branch information
NhoxxKienn authored Apr 23, 2024
2 parents a5d1981 + 69496dd commit fe415a2
Show file tree
Hide file tree
Showing 17 changed files with 6,919 additions and 4,412 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive


- name: Install protoc (Protocol Buffers compiler)
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
export PROTOC=$(which protoc)
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -26,14 +32,7 @@ jobs:
with:
working-directory: node

- uses: actions-rs/cargo@v1
name: Build
with:
command: build
args: --manifest-path node/Cargo.toml -q --all-targets --all-features

- uses: actions-rs/cargo@v1
name: Integration tests
with:
command: test
args: --manifest-path node/Cargo.toml -p pallet-perun --all-features
- name: Build project and run integration tests
run: |
cargo build --manifest-path node/Cargo.toml --all-targets --all-features &&
cargo test --manifest-path node/Cargo.toml -p pallet-perun --all-features
Loading

0 comments on commit fe415a2

Please sign in to comment.