From 5a26b73870879077c9edda62f4126423578ea902 Mon Sep 17 00:00:00 2001 From: kp992 Date: Fri, 1 Mar 2024 12:32:35 +0530 Subject: [PATCH] Add spellcheck ci job --- .github/workflows/spellcheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/spellcheck.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 00000000..73da67a6 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,21 @@ +name: Spellcheck Action +on: push + +jobs: + build: + name: Spellcheck + runs-on: ubuntu-latest + steps: + # The checkout step + - uses: actions/checkout@v3 + - uses: rojopolis/spellcheck-github-actions@0.36.0 + name: Spellcheck + with: + source_files: "lectures/*.md" + task_name: Markdown + output_file: spellcheck-output.txt + - uses: actions/upload-artifact@v3 + if: '!cancelled()' # Do not upload artifact if job was cancelled + with: + name: Spellcheck Output + path: spellcheck-output.txt \ No newline at end of file