Skip to content

Bump tj-actions/changed-files from 39.2.0 to 39.2.2 #672

Bump tj-actions/changed-files from 39.2.0 to 39.2.2

Bump tj-actions/changed-files from 39.2.0 to 39.2.2 #672

Triggered via pull request October 12, 2023 16:21
Status Failure
Total duration 12m 38s
Artifacts

unit-test.yml

on: pull_request
Compute previous WordPress version
2s
Compute previous WordPress version
PHP coding standards
45s
PHP coding standards
Matrix: JavaScript
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
PHP coding standards
Process completed with exit code 2.
PHP coding standards: gutenberg.php#L32
Use Yoda Condition checks, you must.
PHP coding standards: gutenberg.php#L33
Short array syntax is not allowed
PHP coding standards
Process completed with exit code 1.
PHP
Process completed with exit code 1.
JavaScript (16): packages/stylelint-config/test/selectors.js#L31
Error: expect(received).toBeFalsy() Received: true at toBeFalsy (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:31:58)
JavaScript (16): packages/stylelint-config/test/selectors.js#L36
Error: expect(received).toHaveLength(expected) Expected length: 0 Received length: 6 Received array: [{"column": 49, "line": 22, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 16, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 21, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:36:41)
JavaScript (16): packages/stylelint-config/test/selectors.js#L57
Error: expect(received).toHaveLength(expected) Expected length: 8 Received length: 7 Received array: [{"column": 51, "line": 19, "rule": "no-missing-end-of-source-newline", "severity": "error", "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)"}, {"column": 12, "line": 17, "rule": "selector-pseudo-element-colon-notation", "severity": "error", "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)"}, {"column": 3, "line": 2, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 6, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 10, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 14, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}, {"column": 3, "line": 18, "rule": "indentation", "severity": "error", "text": "Expected indentation of 1 tab (indentation)"}] at toHaveLength (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:57:41)
JavaScript (16): packages/stylelint-config/test/selectors.js#L63
Error: expect(received).toMatchSnapshot() Snapshot name: `flags warnings with invalid selectors css snapshot matches warnings 1` - Snapshot - 35 + Received + 28 [ { - "column": 15, - "line": 18, - "rule": "declaration-property-unit-allowed-list", - "severity": "error", - "text": "Unexpected unit "%" for property "line-height" (declaration-property-unit-allowed-list)", - }, - { - "column": 1, - "line": 25, - "rule": "selector-class-pattern", + "column": 51, + "line": 19, + "rule": "no-missing-end-of-source-newline", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-class-pattern)", + "text": "Unexpected missing end-of-source newline (no-missing-end-of-source-newline)", }, { - "column": 1, - "line": 1, - "rule": "selector-id-pattern", + "column": 12, + "line": 17, + "rule": "selector-pseudo-element-colon-notation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", }, { - "column": 1, - "line": 5, - "rule": "selector-id-pattern", + "column": 3, + "line": 2, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 4, - "line": 9, - "rule": "selector-id-pattern", + "column": 3, + "line": 6, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 1, - "line": 21, - "rule": "selector-id-pattern", + "column": 3, + "line": 10, + "rule": "indentation", "severity": "error", - "text": "Selector should use lowercase and separate words with hyphens (selector-id-pattern)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 10, - "line": 29, - "rule": "selector-pseudo-element-colon-notation", + "column": 3, + "line": 14, + "rule": "indentation", "severity": "error", - "text": "Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation)", + "text": "Expected indentation of 1 tab (indentation)", }, { - "column": 12, - "line": 17, - "rule": "string-quotes", + "column": 3, + "line": 18, + "rule": "indentation", "severity": "error", - "text": "Expected double quotes (string-quotes)", + "text": "Expected indentation of 1 tab (indentation)", }, ] at toMatchSnapshot (/home/runner/work/gutenberg/gutenberg/packages/stylelint-config/test/selectors.js:63:41)
JavaScript (16)
Process completed with exit code 1.
JavaScript (16)
Both node-version and node-version-file inputs are specified, only node-version will be used