feat(manager): support mise backends #69655
build.yml
on: pull_request
Annotations
11 errors and 9 warnings
modules/manager/mise/backends › createUbiToolConfig() › should create a tooling config with empty options:
lib/modules/manager/mise/backends.spec.ts#L176
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "0.2.70",
+ "currentValue": "0.2.70",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>.+)",
"packageName": "nekto/act",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:176:62)
|
modules/manager/mise/backends › createUbiToolConfig() › should trim the leading v from version:
lib/modules/manager/mise/backends.spec.ts#L185
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "2.64.0",
+ "currentValue": "2.64.0",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>.+)",
"packageName": "cli/cli",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:185:61)
|
modules/manager/mise/backends › createUbiToolConfig() › should ignore options unless tag_regex is provided:
lib/modules/manager/mise/backends.spec.ts#L196
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "2.64.0",
+ "currentValue": "2.64.0",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>.+)",
"packageName": "cli/cli",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:196:9)
|
modules/manager/mise/backends › createUbiToolConfig() › should set extractVersion if tag_regex is provided:
lib/modules/manager/mise/backends.spec.ts#L209
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "1.10.17",
+ "currentValue": "1.10.17",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>\\d+\\.\\d+\\.)",
"packageName": "cargo-bins/cargo-binstall",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:209:9)
|
modules/manager/mise/backends › createUbiToolConfig() › should trim the leading ^v from tag_regex:
lib/modules/manager/mise/backends.spec.ts#L222
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "1.10.17",
+ "currentValue": "1.10.17",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>\\d+\\.\\d+\\.)",
"packageName": "cargo-bins/cargo-binstall",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:222:9)
|
modules/manager/mise/backends › createUbiToolConfig() › should trim the leading ^v? from tag_regex:
lib/modules/manager/mise/backends.spec.ts#L235
expect(received).toStrictEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "currentvalue": "1.10.17",
+ "currentValue": "1.10.17",
"datasource": "github-releases",
"extractVersion": "^v?(?<version>\\d+\\.\\d+\\.)",
"packageName": "cargo-bins/cargo-binstall",
}
at Object.<anonymous> (lib/modules/manager/mise/backends.spec.ts:235:9)
|
modules/manager/mise/extract › extractPackageFile() › extracts ubi backend tools:
lib/modules/manager/mise/extract.spec.ts#L314
expect(received).toMatchObject(expected)
- Expected - 6
+ Received + 6
@@ -17,30 +17,30 @@
Object {
"currentValue": "1.14.0",
"datasource": "github-releases",
"depName": "ubi:cli/cli",
"extractVersion": "^v?(?<version>.+)",
- "packageName": "cli/cli",
+ "packageName": "cli/cli[exe=gh]",
},
Object {
"currentValue": "1.0.0",
"datasource": "github-releases",
"depName": "ubi:cargo-bins/cargo-binstall",
- "extractVersion": "^v?(?<version>^\\d+\\.\\d+\\.)",
+ "extractVersion": "^v?(?<version>\\d+\\.\\d+\\.)",
"packageName": "cargo-bins/cargo-binstall",
},
Object {
"currentValue": "1.0.0",
"datasource": "github-releases",
"depName": "ubi:cargo-bins/cargo-binstall",
- "extractVersion": "^v?(?<version>^\\d+\\.)",
- "packageName": "cargo-bins/cargo-binstall",
+ "extractVersion": "^v?(?<version>\\d+\\.)",
+ "packageName": "cargo-bins/cargo-binstall[tag_regex=^\\d+\\.]",
},
Object {
"currentValue": "1.0.0",
"datasource": "github-releases",
"depName": "ubi:cargo-bins/cargo-binstall",
- "extractVersion": "^v?(?<version>^\\d+\\.)",
- "packageName": "cargo-bins/cargo-binstall",
+ "extractVersion": "^v?(?<version>\\d+\\.)",
+ "packageName": "cargo-bins/cargo-binstall[tag_regex=^\\d+\\.\\d+\\.]",
},
],
}
at Object.<anonymous> (lib/modules/manager/mise/extract.spec.ts:314:22)
|
modules/manager/mise/extract › extractPackageFile() › provides skipReason for missing version - empty string:
lib/modules/manager/mise/extract.spec.ts#L389
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Object {
"deps": Array [
Object {
"depName": "python",
- "skipReason": "unspecified-version",
+ "skipReason": "unsupported-datasource",
},
],
}
at Object.<anonymous> (lib/modules/manager/mise/extract.spec.ts:389:22)
|
modules/manager/mise/extract › extractPackageFile() › provides skipReason for missing version - missing version in object:
lib/modules/manager/mise/extract.spec.ts#L405
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Object {
"deps": Array [
Object {
"depName": "python",
- "skipReason": "unspecified-version",
+ "skipReason": "unsupported-datasource",
},
],
}
at Object.<anonymous> (lib/modules/manager/mise/extract.spec.ts:405:22)
|
modules/manager/mise/extract › extractPackageFile() › provides skipReason for missing version - empty array:
lib/modules/manager/mise/extract.spec.ts#L422
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -4,9 +4,9 @@
"currentValue": "21.0.2",
"depName": "java",
},
Object {
"depName": "erlang",
- "skipReason": "unspecified-version",
+ "skipReason": "unsupported-datasource",
},
],
}
at Object.<anonymous> (lib/modules/manager/mise/extract.spec.ts:422:22)
|
test-success
Process completed with exit code 1.
|
setup-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prefetch (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-other
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (1/1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-success
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|