mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
7d09c5a4bf
Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
25 lines
667 B
YAML
25 lines
667 B
YAML
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.
|
|
run: echo "The quick brown foxx jumped over the slepy dog." > 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 "The quick brown fox jumped over the sleepy dog." > file.txt
|
|
- name: Test force pass with no mistakes
|
|
uses: ./
|
|
with:
|
|
files: ./file.txt
|