Changeset 54851 for trunk/.github/workflows/coding-standards.yml
- Timestamp:
- 11/16/2022 07:32:57 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/.github/workflows/coding-standards.yml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r54750 r54851 49 49 # - Checks out the repository. 50 50 # - Sets up PHP. 51 # - Logs debug information.52 51 # - Configures caching for PHPCS scans. 53 # - Installs Composer dependencies (use cache if possible).52 # - Installs Composer dependencies. 54 53 # - Make Composer packages available globally. 55 # - Logs PHP_CodeSniffer debug information.56 54 # - Runs PHPCS on the full codebase with warnings suppressed. 55 # - Generate a report for displaying issues as pull request annotations. 57 56 # - Runs PHPCS on the `tests` directory without warnings suppressed. 57 # - Generate a report for displaying `test` directory issues as pull request annotations. 58 58 # - Ensures version-controlled files are not modified or deleted. 59 59 60 phpcs: 60 61 name: PHP coding standards … … 74 75 tools: composer, cs2pr 75 76 76 - name: Log debug information77 run: |78 php --version79 composer --version80 81 77 # This date is used to ensure that the PHPCS cache is cleared at least once every week. 82 78 # http://man7.org/linux/man-pages/man1/date.1.html … … 99 95 run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH 100 96 101 - name: Log PHPCS debug information102 run: phpcs -i103 104 97 - name: Run PHPCS on all Core files 105 98 id: phpcs-core … … 127 120 # Performs the following steps: 128 121 # - Checks out the repository. 122 # - Sets up Node.js. 129 123 # - Logs debug information about the GitHub Action runner. 130 # - Installs Node.js. 131 # - Logs updated debug information. 132 # _ Installs npm dependencies. 124 # - Installs npm dependencies. 133 125 # - Run the WordPress JSHint checks. 134 126 # - Ensures version-controlled files are not modified or deleted. … … 145 137 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 146 138 139 - name: Set up Node.js 140 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 141 with: 142 node-version-file: '.nvmrc' 143 cache: npm 144 147 145 - name: Log debug information 148 146 run: | … … 152 150 svn --version 153 151 154 - name: Install Node.js 155 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 156 with: 157 node-version-file: '.nvmrc' 158 cache: npm 159 160 - name: Log debug information 161 run: | 162 npm --version 163 node --version 164 165 - name: Install Dependencies 152 - name: Install npm Dependencies 166 153 run: npm ci 167 154
Note: See TracChangeset
for help on using the changeset viewer.