Skip to content

Commit

Permalink
Update cli apps with renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Jun 30, 2024
1 parent c57e829 commit d846276
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
12 changes: 9 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
set windows-shell := ["pwsh.exe", "-c"]
# renovate: datasource=crate depName=cargo-nextest packageName=cargo-nextest
NEXTEST_VERSION := "0.9.72"
# renovate: datasource=crate depName=cargo-component packageName=cargo-component
CARGO_COMPONENT_VERSION := "0.10.1"
# renovate: datasource=crate depName=wasm-tools packageName=wasm-tools
WASM_TOOLS_VERSION := "1.202.0"

@default: build test

Expand All @@ -9,9 +15,9 @@ build-language-plugin:

install-requirements:
rustup component add rustfmt
cargo install cargo-nextest@0.9.72 --locked || cargo-nextest --version
cargo install cargo-component@0.10.1 --locked || cargo-component --version
cargo install wasm-tools@1.202.0 --locked || wasm-tools --version
cargo install cargo-nextest@{{NEXTEST_VERSION}} --locked || cargo-nextest --version
cargo install cargo-component@{{CARGO_COMPONENT_VERSION}} --locked || cargo-component --version
cargo install wasm-tools@{{WASM_TOOLS_VERSION}} --locked || wasm-tools --version

build-wasm-components:
cargo component build -p pulumi_wasm \
Expand Down
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,15 @@
"matchPackagePatterns": "^rmp*",
"groupName": "rmp"
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update _VERSION variables in justfile",
"fileMatch": ["(^|/|\\.)justfile"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?_VERSION := \"(?<currentValue>.+?)\"\\s"
]
}
]
}

0 comments on commit d846276

Please sign in to comment.