Sha256: 8189170506266f1681f0e1350756b8e5bcf90d210b92e3fa41ad8e06e958cb73

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

name: Spell Checking

on:
  push:
    branches: ["main"]
    tags: ["**"]
  pull_request:
    branches: ["main"]

jobs:
  codespell:
    name: Check spelling all files with codespell
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.8]
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install codespell
          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
      - name: enable problem matcher
        run: |
          echo "::add-matcher::.github/codespell-problem-matcher.json"
      - name: Check spelling with codespell
        run: codespell --ignore-words=codespell.txt || exit 1
  misspell:
    name: Check spelling all files in commit with misspell
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install
        run: wget -O - -q https://git.io/misspell | sh -s -- -b .
      - name: enable problem matcher
        run: |
          echo "::add-matcher::.github/misspell-problem-matcher.json"
      - name: Misspell
        run: git ls-files --empty-directory | xargs ./misspell -i 'enviromnent' -error

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jp_local_gov-1.0.0 .github/workflows/spell-checking.yml
jp_local_gov-0.3.1 .github/workflows/spell-checking.yml
jp_local_gov-0.3.0 .github/workflows/spell-checking.yml
jp_local_gov-0.2.1 .github/workflows/spell-checking.yml
jp_local_gov-0.2.0 .github/workflows/spell-checking.yml