2021-05-31 20:42:45 -04:00
|
|
|
name: Test GitHub Action
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
name: Spell Check with Typos
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Actions Repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- 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
|