refactor code to use defaults #8151
This file contains hidden or 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: cspell | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| cspell: | |
| name: cspell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v2 | |
| with: | |
| path: aws-sdk-cpp | |
| - name: Install Dependencies | |
| run: | | |
| sudo npm install -g cspell | |
| - name: cspell | |
| run: | | |
| cd aws-sdk-cpp | |
| sudo cspell "src/**/*.txt" "*.txt" "src/aws-cpp-sdk-core/**/*.h" "src/aws-cpp-sdk-core/**/*.cpp" | |
| if [ $? -ne 0 ]; then sudo cspell "src/**/*.txt" "*.txt" "src/aws-cpp-sdk-core/**/*.h" "src/aws-cpp-sdk-core/**/*.cpp"; exit 1; fi; |