From 745607bab0ab38a0172f6ceffce0407920522fa1 Mon Sep 17 00:00:00 2001 From: Nenad Date: Thu, 20 Jun 2024 07:48:53 +0200 Subject: [PATCH 1/8] add spellcheck --- .github/workflows/test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 632f36c9..40901480 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,17 @@ jobs: - name: Run markdown lint run: ./bin/lint_markdown.sh + # stolen from https://raw.githubusercontent.com/exercism/github-actions/main/.github/workflows/shellcheck.yml + shellcheck: + name: Run shellcheck on scripts + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + + - name: Run shellcheck + uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 + build: name: Check build runs-on: ubuntu-22.04 From bdacfe4b0eea16828b62028367ba0c7faeaa6396 Mon Sep 17 00:00:00 2001 From: Nenad Date: Thu, 20 Jun 2024 07:50:52 +0200 Subject: [PATCH 2/8] format test.yml --- .github/workflows/test.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40901480..132503c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,34 +36,34 @@ jobs: - name: Run markdown lint run: ./bin/lint_markdown.sh - + # stolen from https://raw.githubusercontent.com/exercism/github-actions/main/.github/workflows/shellcheck.yml shellcheck: name: Run shellcheck on scripts runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Run shellcheck - uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 - + uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 + build: name: Check build runs-on: ubuntu-22.04 - + steps: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - + - name: Fetch origin/main run: git fetch --depth=1 origin main - + - name: Getting scarb uses: software-mansion/setup-scarb@v1 with: scarb-version: "2.6.3" - + - name: Verify all exercises env: DENYWARNINGS: "1" @@ -72,11 +72,11 @@ jobs: format: name: Check Cairo formatting runs-on: ubuntu-22.04 - + steps: - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - + - name: Getting scarb uses: software-mansion/setup-scarb@v1 with: From 9392aa3e19413997389eaa95c6b4978170e3e11e Mon Sep 17 00:00:00 2001 From: Nenad Date: Thu, 20 Jun 2024 08:08:16 +0200 Subject: [PATCH 3/8] format md files with prettier --- docs/ABOUT.md | 1 + exercises/practice/armstrong-numbers/.docs/instructions.md | 5 ++--- exercises/practice/leap/.docs/introduction.md | 4 ++-- exercises/practice/semi-structured-logs/.docs/hints.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ABOUT.md b/docs/ABOUT.md index c12f6b41..eacb151c 100644 --- a/docs/ABOUT.md +++ b/docs/ABOUT.md @@ -6,6 +6,7 @@ scalable [dApps][dapps] with the power of [validity proofs][zkp]. [cairo]: https://www.cairo-lang.org/ [dapps]: https://en.wikipedia.org/wiki/Decentralized_application [zkp]: https://en.wikipedia.org/wiki/Zero-knowledge_proof +