Add safe xcm filter #689
Workflow file for this run
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: Pull Request Check | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- closed | |
jobs: | |
check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "[Setup] Free Disk Space (insightsengineering/disk-space-reclaimer)" | |
uses: insightsengineering/disk-space-reclaimer@v1.1.0 | |
- name: "[Setup] Linux Tools" | |
run: sudo apt install -y cmake pkg-config libssl-dev build-essential clang libclang-dev curl protobuf-compiler | |
- name: "[Setup] Rust" | |
run: | | |
TLCHN=nightly-2024-01-21 | |
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $TLCHN | |
rustup target add wasm32-unknown-unknown --toolchain $TLCHN | |
cargo install cargo-expand --locked --version 1.0.71 | |
- name: Checkout Sources (actions/checkout) | |
uses: actions/checkout@v3 | |
- name: "[Ceck] cargo fmt" | |
run: | | |
cargo fmt --check | |
- name: "[Check] cargo test" | |
run: | | |
cargo test --release | |
- name: "[Check] cargo clippy" | |
run: | | |
cargo clippy --release -- -Dwarnings |