fix: refine ExtrinsicBaseWeight calculation #51849
Workflow file for this run
This file contains hidden or 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: 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@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 | |
| 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 |