Skip to content

Commit c07b56d

Browse files
committed
Merge remote-tracking branch 'origin/master' into alindima/add-systematic-chunks-av-recovery
1 parent 6faa1ee commit c07b56d

File tree

47 files changed

+4972
-779
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4972
-779
lines changed

.config/lychee.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ exclude = [
5151
"https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/",
5252
# 403 rate limited:
5353
"https://etherscan.io/block/11090290",
54+
"https://subscan.io/",
5455
"https://substrate.stackexchange.com/.*",
5556
]

.config/zepter.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ workflows:
2525
'--show-path',
2626
'--quiet',
2727
]
28-
# Same as `check`, but with the `--fix` flag.
28+
# The umbrella crate uses more features, so we to check those too:
29+
check_umbrella:
30+
- [ $check.0, '--features=serde,experimental,with-tracing,tuples-96,with-tracing', '-p=polkadot-sdk' ]
31+
# Same as `check_*`, but with the `--fix` flag.
2932
default:
3033
- [ $check.0, '--fix' ]
34+
- [ $check_umbrella.0, '--fix' ]
3135

3236
# Will be displayed when any workflow fails:
3337
help:

.github/workflows/check-features.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Check
1414
uses: hack-ink/cargo-featalign-action@bea88a864d6ca7d0c53c26f1391ce1d431dc7f34 # v0.1.1
1515
with:
16-
crate: substrate/bin/node/runtime
16+
crate: templates/parachain/runtime/
1717
features: std,runtime-benchmarks,try-runtime
1818
ignore: sc-executor
1919
default-std: true

.github/workflows/checks-quick.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,33 @@ jobs:
116116
run: |
117117
echo "Checking markdown formatting. More info: docs/contributor/markdown_linting.md"
118118
markdownlint --config "$CONFIG" --ignore target .
119+
check-umbrella:
120+
runs-on: arc-runners-polkadot-sdk
121+
timeout-minutes: 10
122+
needs: [set-image]
123+
container:
124+
image: ${{ needs.set-image.outputs.IMAGE }}
125+
steps:
126+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.0 (22. Sep 2023)
127+
- name: install python deps
128+
run: |
129+
sudo apt-get update && sudo apt-get install -y python3-pip python3
130+
pip3 install "cargo-workspace>=1.2.4" toml
131+
- name: check umbrella correctness
132+
run: |
133+
python3 scripts/generate-umbrella.py --sdk . --version 0.1.0
134+
cargo +nightly fmt --all
135+
if [ -n "$(git status --porcelain)" ]; then
136+
cat <<EOF
137+
👋 Hello developer! The SemVer information that you declared in the prdoc file did not match what the CI detected.
138+
139+
Please check the output above and see the following links for more help:
140+
- https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/prdoc.md#record-semver-changes
141+
- https://forum.polkadot.network/t/psa-polkadot-sdk-to-use-semver
142+
143+
Otherwise feel free to ask in the Merge Request or in Matrix chat.
144+
EOF
145+
146+
git diff
147+
exit 1
148+
fi

0 commit comments

Comments
 (0)