Unverified Commit 4c4c1fbd authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

Enable dependabot for examples (#780)

* Create workspace for examples

* Enable dependabot for examples

* Choose unique package names in workspace

* Prevent nested workspaces

* Add comments

* Make crate and lib name equal
parent 1a19f937
Pipeline #137603 passed with stages
in 31 minutes and 47 seconds
......@@ -4,3 +4,13 @@ updates:
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "cargo"
directory: "/examples/"
schedule:
interval: "daily"
# `delegator` needs to be a separate stage, since it's a separate workspace.
- package-ecosystem: "cargo"
directory: "/examples/delegator/"
schedule:
interval: "daily"
# This workspace has just been created so that dependabot can
# batch upgrades to the example dependencies into a single PR,
# instead of multiple isolated ones.
[workspace]
members = ["./*"]
exclude = [
# we need to exclude `delegator` since it's a separate workspace
# and nested workspaces are not allowed.
"delegator",
]
[package]
name = "erc20"
name = "trait_erc20"
version = "3.0.0-rc3"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,7 +15,7 @@ scale = { package = "parity-scale-codec", version = "2.1", default-features = fa
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
[lib]
name = "erc20"
name = "trait_erc20"
path = "lib.rs"
crate-type = ["cdylib"]
......
[package]
name = "flipper"
name = "trait_flipper"
version = "3.0.0-rc3"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,7 +15,7 @@ scale = { package = "parity-scale-codec", version = "2.1", default-features = fa
scale-info = { version = "0.6", default-features = false, features = ["derive"], optional = true }
[lib]
name = "flipper"
name = "trait_flipper"
path = "lib.rs"
crate-type = ["cdylib"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment