mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-05-05 17:44:47 +00:00
build(deps): bump yaml from 2.8.2 to 2.8.3 (#1365)
Some checks failed
Code Scanning - Action / codeQL (push) Has been cancelled
build-and-test / build (push) Has been cancelled
build-and-test / test (macos-latest, latest) (push) Has been cancelled
build-and-test / test (macos-latest, v2.10) (push) Has been cancelled
build-and-test / test (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test (macos-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.10) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.10) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test (windows-latest, ) (push) Has been cancelled
build-and-test / test (windows-latest, latest) (push) Has been cancelled
build-and-test / test (windows-latest, v2.10) (push) Has been cancelled
build-and-test / test (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, ) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.10) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, ) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-monorepo (macos-latest) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-22.04-arm) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-latest) (push) Has been cancelled
build-and-test / test-monorepo (windows-latest) (push) Has been cancelled
Some checks failed
Code Scanning - Action / codeQL (push) Has been cancelled
build-and-test / build (push) Has been cancelled
build-and-test / test (macos-latest, latest) (push) Has been cancelled
build-and-test / test (macos-latest, v2.10) (push) Has been cancelled
build-and-test / test (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test (macos-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.10) (push) Has been cancelled
build-and-test / test (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.10) (push) Has been cancelled
build-and-test / test (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test (windows-latest, ) (push) Has been cancelled
build-and-test / test (windows-latest, latest) (push) Has been cancelled
build-and-test / test (windows-latest, v2.10) (push) Has been cancelled
build-and-test / test (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, ) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, ) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, f8861ca84d805a673945d037bae1559c3567aadc) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, latest) (push) Has been cancelled
build-and-test / test-go-install (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-go-mod (macos-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-22.04-arm, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (ubuntu-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-mod) (push) Has been cancelled
build-and-test / test-go-mod (windows-latest, fixtures/go-tool) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, ) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (macos-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.10) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-22.04-arm, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, ) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (ubuntu-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, ) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, latest) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.10) (push) Has been cancelled
build-and-test / test-plugins (windows-latest, v2.10.1) (push) Has been cancelled
build-and-test / test-monorepo (macos-latest) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-22.04-arm) (push) Has been cancelled
build-and-test / test-monorepo (ubuntu-latest) (push) Has been cancelled
build-and-test / test-monorepo (windows-latest) (push) Has been cancelled
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
40890fa829
commit
2d7e7b6785
4 changed files with 55 additions and 19 deletions
32
dist/post_run/index.js
generated
vendored
32
dist/post_run/index.js
generated
vendored
|
|
@ -97736,19 +97736,26 @@ function composeNode(ctx, token, props, onError) {
|
||||||
case 'block-map':
|
case 'block-map':
|
||||||
case 'block-seq':
|
case 'block-seq':
|
||||||
case 'flow-collection':
|
case 'flow-collection':
|
||||||
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
try {
|
||||||
if (anchor)
|
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
||||||
node.anchor = anchor.source.substring(1);
|
if (anchor)
|
||||||
|
node.anchor = anchor.source.substring(1);
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
// Almost certainly here due to a stack overflow
|
||||||
|
const message = error instanceof Error ? error.message : String(error);
|
||||||
|
onError(token, 'RESOURCE_EXHAUSTION', message);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default: {
|
default: {
|
||||||
const message = token.type === 'error'
|
const message = token.type === 'error'
|
||||||
? token.message
|
? token.message
|
||||||
: `Unsupported token (type: ${token.type})`;
|
: `Unsupported token (type: ${token.type})`;
|
||||||
onError(token, 'UNEXPECTED_TOKEN', message);
|
onError(token, 'UNEXPECTED_TOKEN', message);
|
||||||
node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);
|
|
||||||
isSrcToken = false;
|
isSrcToken = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
node ?? (node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError));
|
||||||
if (anchor && node.anchor === '')
|
if (anchor && node.anchor === '')
|
||||||
onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');
|
onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');
|
||||||
if (atKey &&
|
if (atKey &&
|
||||||
|
|
@ -104969,6 +104976,7 @@ function createStringifyContext(doc, options) {
|
||||||
nullStr: 'null',
|
nullStr: 'null',
|
||||||
simpleKeys: false,
|
simpleKeys: false,
|
||||||
singleQuote: null,
|
singleQuote: null,
|
||||||
|
trailingComma: false,
|
||||||
trueStr: 'true',
|
trueStr: 'true',
|
||||||
verifyAliasOrder: true
|
verifyAliasOrder: true
|
||||||
}, doc.schema.toStringOptions, options);
|
}, doc.schema.toStringOptions, options);
|
||||||
|
|
@ -105190,12 +105198,22 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
|
||||||
if (comment)
|
if (comment)
|
||||||
reqNewline = true;
|
reqNewline = true;
|
||||||
let str = stringify.stringify(item, itemCtx, () => (comment = null));
|
let str = stringify.stringify(item, itemCtx, () => (comment = null));
|
||||||
if (i < items.length - 1)
|
reqNewline || (reqNewline = lines.length > linesAtValue || str.includes('\n'));
|
||||||
|
if (i < items.length - 1) {
|
||||||
str += ',';
|
str += ',';
|
||||||
|
}
|
||||||
|
else if (ctx.options.trailingComma) {
|
||||||
|
if (ctx.options.lineWidth > 0) {
|
||||||
|
reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) +
|
||||||
|
(str.length + 2) >
|
||||||
|
ctx.options.lineWidth);
|
||||||
|
}
|
||||||
|
if (reqNewline) {
|
||||||
|
str += ',';
|
||||||
|
}
|
||||||
|
}
|
||||||
if (comment)
|
if (comment)
|
||||||
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
||||||
if (!reqNewline && (lines.length > linesAtValue || str.includes('\n')))
|
|
||||||
reqNewline = true;
|
|
||||||
lines.push(str);
|
lines.push(str);
|
||||||
linesAtValue = lines.length;
|
linesAtValue = lines.length;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
32
dist/run/index.js
generated
vendored
32
dist/run/index.js
generated
vendored
|
|
@ -97736,19 +97736,26 @@ function composeNode(ctx, token, props, onError) {
|
||||||
case 'block-map':
|
case 'block-map':
|
||||||
case 'block-seq':
|
case 'block-seq':
|
||||||
case 'flow-collection':
|
case 'flow-collection':
|
||||||
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
try {
|
||||||
if (anchor)
|
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
||||||
node.anchor = anchor.source.substring(1);
|
if (anchor)
|
||||||
|
node.anchor = anchor.source.substring(1);
|
||||||
|
}
|
||||||
|
catch (error) {
|
||||||
|
// Almost certainly here due to a stack overflow
|
||||||
|
const message = error instanceof Error ? error.message : String(error);
|
||||||
|
onError(token, 'RESOURCE_EXHAUSTION', message);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default: {
|
default: {
|
||||||
const message = token.type === 'error'
|
const message = token.type === 'error'
|
||||||
? token.message
|
? token.message
|
||||||
: `Unsupported token (type: ${token.type})`;
|
: `Unsupported token (type: ${token.type})`;
|
||||||
onError(token, 'UNEXPECTED_TOKEN', message);
|
onError(token, 'UNEXPECTED_TOKEN', message);
|
||||||
node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);
|
|
||||||
isSrcToken = false;
|
isSrcToken = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
node ?? (node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError));
|
||||||
if (anchor && node.anchor === '')
|
if (anchor && node.anchor === '')
|
||||||
onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');
|
onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');
|
||||||
if (atKey &&
|
if (atKey &&
|
||||||
|
|
@ -104969,6 +104976,7 @@ function createStringifyContext(doc, options) {
|
||||||
nullStr: 'null',
|
nullStr: 'null',
|
||||||
simpleKeys: false,
|
simpleKeys: false,
|
||||||
singleQuote: null,
|
singleQuote: null,
|
||||||
|
trailingComma: false,
|
||||||
trueStr: 'true',
|
trueStr: 'true',
|
||||||
verifyAliasOrder: true
|
verifyAliasOrder: true
|
||||||
}, doc.schema.toStringOptions, options);
|
}, doc.schema.toStringOptions, options);
|
||||||
|
|
@ -105190,12 +105198,22 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
|
||||||
if (comment)
|
if (comment)
|
||||||
reqNewline = true;
|
reqNewline = true;
|
||||||
let str = stringify.stringify(item, itemCtx, () => (comment = null));
|
let str = stringify.stringify(item, itemCtx, () => (comment = null));
|
||||||
if (i < items.length - 1)
|
reqNewline || (reqNewline = lines.length > linesAtValue || str.includes('\n'));
|
||||||
|
if (i < items.length - 1) {
|
||||||
str += ',';
|
str += ',';
|
||||||
|
}
|
||||||
|
else if (ctx.options.trailingComma) {
|
||||||
|
if (ctx.options.lineWidth > 0) {
|
||||||
|
reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) +
|
||||||
|
(str.length + 2) >
|
||||||
|
ctx.options.lineWidth);
|
||||||
|
}
|
||||||
|
if (reqNewline) {
|
||||||
|
str += ',';
|
||||||
|
}
|
||||||
|
}
|
||||||
if (comment)
|
if (comment)
|
||||||
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
||||||
if (!reqNewline && (lines.length > linesAtValue || str.includes('\n')))
|
|
||||||
reqNewline = true;
|
|
||||||
lines.push(str);
|
lines.push(str);
|
||||||
linesAtValue = lines.length;
|
linesAtValue = lines.length;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -22,7 +22,7 @@
|
||||||
"@types/which": "^3.0.4",
|
"@types/which": "^3.0.4",
|
||||||
"tmp": "^0.2.5",
|
"tmp": "^0.2.5",
|
||||||
"which": "^6.0.0",
|
"which": "^6.0.0",
|
||||||
"yaml": "^2.8.2"
|
"yaml": "^2.8.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^2.0.2",
|
"@eslint/compat": "^2.0.2",
|
||||||
|
|
@ -4338,9 +4338,9 @@
|
||||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
||||||
},
|
},
|
||||||
"node_modules/yaml": {
|
"node_modules/yaml": {
|
||||||
"version": "2.8.2",
|
"version": "2.8.3",
|
||||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz",
|
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
||||||
"integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
|
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bin": {
|
"bin": {
|
||||||
"yaml": "bin.mjs"
|
"yaml": "bin.mjs"
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
"@types/which": "^3.0.4",
|
"@types/which": "^3.0.4",
|
||||||
"tmp": "^0.2.5",
|
"tmp": "^0.2.5",
|
||||||
"which": "^6.0.0",
|
"which": "^6.0.0",
|
||||||
"yaml": "^2.8.2"
|
"yaml": "^2.8.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^2.0.2",
|
"@eslint/compat": "^2.0.2",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue