2021-05-31 20:42:45 -04:00
|
|
|
name: Test GitHub Action
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2022-06-16 11:53:59 -04:00
|
|
|
shallow:
|
2021-05-31 20:42:45 -04:00
|
|
|
name: Spell Check with Typos
|
2024-06-17 11:11:57 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-09-04 01:38:08 -04:00
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
2024-06-17 11:11:57 -04:00
|
|
|
runs-on: ${{ matrix.os }}
|
2021-05-31 20:42:45 -04:00
|
|
|
steps:
|
|
|
|
- name: Checkout Actions Repository
|
2023-09-30 23:30:16 -04:00
|
|
|
uses: actions/checkout@v4
|
2021-05-31 20:42:45 -04:00
|
|
|
|
2024-09-04 01:38:08 -04:00
|
|
|
- name: Install wget for Windows
|
|
|
|
if: matrix.os == 'windows-latest'
|
|
|
|
run: choco install wget --no-progress
|
|
|
|
|
2021-05-31 20:42:45 -04:00
|
|
|
- name: Prepare file with mistakes.
|
2021-06-05 14:18:03 -04:00
|
|
|
run: echo "Finallizes" > file.txt
|
2021-05-31 20:42:45 -04:00
|
|
|
- name: Test force pass with mistakes
|
|
|
|
continue-on-error: true
|
|
|
|
uses: ./
|
2021-06-05 14:18:03 -04:00
|
|
|
with:
|
2021-05-31 20:42:45 -04:00
|
|
|
files: ./file.txt
|
|
|
|
|
|
|
|
- name: Prepare file with no mistakes.
|
2021-06-05 14:18:03 -04:00
|
|
|
run: echo "Finalizes" > file.txt
|
|
|
|
- name: Test pass with no mistakes
|
2021-05-31 20:42:45 -04:00
|
|
|
uses: ./
|
2021-06-05 14:18:03 -04:00
|
|
|
with:
|
2021-05-31 20:42:45 -04:00
|
|
|
files: ./file.txt
|
2022-06-16 11:53:59 -04:00
|
|
|
|
|
|
|
deep:
|
|
|
|
name: Spell Check with Type w/History
|
2024-06-17 11:11:57 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-09-04 01:38:08 -04:00
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
2024-06-17 11:11:57 -04:00
|
|
|
runs-on: ${{ matrix.os }}
|
2022-06-16 11:53:59 -04:00
|
|
|
steps:
|
|
|
|
- name: Checkout Actions Repository
|
2023-09-30 23:30:16 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-06-16 11:53:59 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2024-09-04 01:38:08 -04:00
|
|
|
- name: Install wget for Windows
|
|
|
|
if: matrix.os == 'windows-latest'
|
|
|
|
run: choco install wget --no-progress
|
|
|
|
|
2022-06-16 11:53:59 -04:00
|
|
|
- name: Prepare file with mistakes.
|
|
|
|
run: echo "Finallizes" > file.txt
|
|
|
|
- name: Test force pass with mistakes
|
|
|
|
continue-on-error: true
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
files: ./file.txt
|
|
|
|
|
|
|
|
- name: Prepare file with no mistakes.
|
|
|
|
run: echo "Finalizes" > file.txt
|
|
|
|
- name: Test pass with no mistakes
|
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
files: ./file.txt
|