diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 48af6619f..e8db09bfb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,6 +3,38 @@ name: โ„๏ธ Lint on: [pull_request] jobs: + markdownlint: + name: ๐Ÿธ Markdown + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: ๐Ÿš€ Use Node.js + uses: actions/setup-node@v2.1.4 + with: + node-version: '12.x' + - run: npm install -g markdownlint-cli@0.25.0 + - run: markdownlint '**/*.md' + misspell: + name: ๐Ÿฅ› Check Spelling + runs-on: ubuntu-latest + steps: + - name: ๐Ÿ’ Check Out + uses: actions/checkout@v2 + - name: ๐Ÿ… Install + run: | + wget -O - -q https://git.io/misspell | sh -s -- -b . + - name: ๐ŸŒถ๏ธ Misspell + run: | + git ls-files --empty-directory | xargs ./misspell -error + trailing-whitespace: + name: ๐Ÿง‹ Trailing whitespace + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: ๐Ÿงน Check for trailing whitespace + run: | + cd test || exit + sh ./check-for-trailing-whitespace.sh || exit 1 yamllint: name: ๐Ÿถ YAML runs-on: ubuntu-latest @@ -20,23 +52,3 @@ jobs: run: | # return non-zero exit code on warnings yamllint --strict . - markdownlint: - name: ๐Ÿธ Markdown - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: ๐Ÿš€ Use Node.js - uses: actions/setup-node@v2.1.4 - with: - node-version: '12.x' - - run: npm install -g markdownlint-cli@0.25.0 - - run: markdownlint '**/*.md' - trailing-whitespace: - name: ๐ŸŒŒ Trailing whitespace - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: ๐Ÿงน Check for trailing whitespace - run: | - cd test || exit - sh ./check-for-trailing-whitespace.sh || exit 1 diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml deleted file mode 100644 index 7e86e0198..000000000 --- a/.github/workflows/spell-checker.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ๐Ÿ’Ž Spellchecker - -on: [pull_request] - -jobs: - misspell: - name: ๐Ÿงน Check Spelling - runs-on: ubuntu-latest - steps: - - name: ๐Ÿ’ Check Out - uses: actions/checkout@v2 - - name: ๐Ÿ… Install - run: | - wget -O - -q https://git.io/misspell | sh -s -- -b . - - name: ๐ŸŒถ๏ธ Misspell - run: | - git ls-files --empty-directory | xargs ./misspell -error