Skip to content

Bump the github-actions group with 1 update #803

Bump the github-actions group with 1 update

Bump the github-actions group with 1 update #803

Triggered via pull request February 23, 2024 16:24
Status Failure
Total duration 16m 9s
Artifacts

unit-test.yml

on: pull_request
Compute previous WordPress version
0s
Compute previous WordPress version
PHP coding standards
31s
PHP coding standards
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 25 warnings
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.
JavaScript (Node.js 21): 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 (Node.js 21): 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 (Node.js 21): 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 (Node.js 21): 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 (Node.js 21)
Process completed with exit code 1.
JavaScript (Node.js 20): 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 (Node.js 20): 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 (Node.js 20): 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 (Node.js 20): 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 (Node.js 20)
Process completed with exit code 1.
PHP
Process completed with exit code 1.
PHP coding standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mobile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.2 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.1 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.3 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.