Update substrate #75
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
name: Rust | |
on: | |
push: | |
branches: [master, dev] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
SKIP_WASM_BUILD: 1 | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 | |
- uses: Swatinem/rust-cache@v1 | |
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 |