Skip to content

Commit ced567b

Browse files
authored
🔖 Release Polimec 0.6.0 (#240)
* chore: bump crates version * feat: add yaml config * chore: run zepter * chore: cargo update * test: use the new pallet weights
1 parent f7a0d12 commit ced567b

File tree

10 files changed

+196
-151
lines changed

10 files changed

+196
-151
lines changed

.config/zepter.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version:
2+
format: 1
3+
# Minimum version of the binary that is expected to work. This is just for printing a nice error
4+
# message when someone tries to use an older version.
5+
binary: 0.13.2
6+
7+
# The examples in this file assume crate `A` to have a dependency on crate `B`.
8+
workflows:
9+
check:
10+
- [
11+
'lint',
12+
# Check that `A` activates the features of `B`.
13+
'propagate-feature',
14+
# These are the features to check:
15+
'--features=try-runtime,runtime-benchmarks,std',
16+
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually.
17+
'--left-side-feature-missing=ignore',
18+
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
19+
'--left-side-outside-workspace=ignore',
20+
# Some features imply that they activate a specific dependency as non-optional. Otherwise the default behaviour with a `?` is used.
21+
'--feature-enables-dep=try-runtime:frame-try-runtime,runtime-benchmarks:frame-benchmarking',
22+
# Auxillary flags:
23+
'--offline',
24+
'--locked',
25+
'--show-path',
26+
'--quiet',
27+
]
28+
# Same as `check`, but with the `--fix` flag.
29+
default:
30+
- [ $check.0, '--fix' ]
31+
32+
# Will be displayed when any workflow fails:
33+
help:
34+
text: |
35+
This repo uses the Zepter CLI to detect abnormalities in the feature configuration.
36+
It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`.
37+
Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you.
38+
links:
39+
- "https://github.com/ggwpez/zepter"

0 commit comments

Comments
 (0)