Corrections as per code review. #519
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run checks | |
on: [push, pull_request] | |
jobs: | |
job-checks: | |
name: Run checks | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Run copyright check | |
shell: powershell | |
run: ./scripts/check_copyright.ps1 -NOISY | |
- name: Run I18n check | |
shell: powershell | |
run: ./scripts/check_i18n.ps1 -NOISY | |
- name: Run spell check | |
shell: powershell | |
run: | | |
# package support for windows is not great; this is ugly, but will do for now | |
choco install cyg-get --no-progress | |
cyg-get.bat aspell aspell-en | |
$env:Path += ";C:\tools\cygwin\bin;" | |
./scripts/check_spelling.ps1 -NOISY | |
- name: Run string sort check | |
shell: powershell | |
run: ./scripts/check_strings_sorting.ps1 ` | |
-CHECK_LOCALIZED ` | |
-NOISY ` | |
-PATHS ./XenModel/Messages.resx, ./XenModel/FriendlyNames.resx, ` | |
./XenModel/InvisibleMessages.resx, ./XenModel/UnitStrings.resx, ` | |
./XenOvfApi/Content.resx, ./XenOvfApi/Messages.resx; ` | |
if($lastexitcode -eq 0){ ` | |
./scripts/check_strings_sorting.ps1 ` | |
-NOISY ` | |
-PATHS ./Branding/Branding.resx ` | |
} |