Skip to content

pallet-multisig: add try_state invariant checks #55888

pallet-multisig: add try_state invariant checks

pallet-multisig: add try_state invariant checks #55888

name: Check publish
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
isdraft:
uses: ./.github/workflows/reusable-isdraft.yml
check-publish:
runs-on: ubuntu-latest
needs: isdraft
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Rust
run: |
source .github/env
RUST_VERSION=$(echo "$IMAGE" | sed -E 's/.*ci-unified:[^-]+-([^-]+).*/\1/')
rustup install $RUST_VERSION
rustup default $RUST_VERSION
- name: Rust Cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
- name: install parity-publish
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends libcurl4-openssl-dev pkg-config
cargo install parity-publish@0.10.10 --locked -q
- name: parity-publish check
run: parity-publish --color always check --allow-unpublished