From e01a9130624b9ff0664d88e4b5e4547fe65b587c Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:31:36 +0100 Subject: [PATCH 1/8] FIx codespell check --- .github/workflows/codespell.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 1511fd18304..5b8417248f4 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -16,8 +16,11 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - - name: Install prerequisites - run: pip install codespell + - name: Set up Python and create a virtual environment + run: | + python3 -m venv venv + source venv/bin/activate + pip install codespell - name: Spell check - run: codespell --config=./.codespell/.codespellrc \ No newline at end of file + run: venv/bin/codespell --config=./.codespell/.codespellrc \ No newline at end of file From e80b09a43abcb837e7d81f7cedcaf366be756e7e Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:36:15 +0100 Subject: [PATCH 2/8] fix --- .github/workflows/codespell.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 5b8417248f4..5659de05d77 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -23,4 +23,6 @@ jobs: pip install codespell - name: Spell check - run: venv/bin/codespell --config=./.codespell/.codespellrc \ No newline at end of file + run: | + source venv/bin/activate + codespell --config=./.codespell/.codespellrc \ No newline at end of file From 2aa772d120e2f32d2143b145988e61ba160411e1 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:46:40 +0100 Subject: [PATCH 3/8] try a fix --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 5659de05d77..f7f190b1513 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -24,5 +24,5 @@ jobs: - name: Spell check run: | - source venv/bin/activate + cd teku codespell --config=./.codespell/.codespellrc \ No newline at end of file From 68fd98ae04de7183ddf2a42733c348b5e7afa583 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:48:19 +0100 Subject: [PATCH 4/8] try a fix --- .github/workflows/codespell.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index f7f190b1513..6b69340f099 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -13,16 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout the repository - uses: actions/checkout@v4 - - - name: Set up Python and create a virtual environment + - name: Create a virtual environment and install prerequisites run: | python3 -m venv venv source venv/bin/activate pip install codespell + - name: Checkout the repository + uses: actions/checkout@v4 + - name: Spell check run: | - cd teku codespell --config=./.codespell/.codespellrc \ No newline at end of file From 29bb9a70bdd5b4b1a1fda4c547bfa9b00f07e2c2 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:49:40 +0100 Subject: [PATCH 5/8] try a fix --- .github/workflows/codespell.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 6b69340f099..ce5129a8b79 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -24,4 +24,5 @@ jobs: - name: Spell check run: | + source venv/bin/activate codespell --config=./.codespell/.codespellrc \ No newline at end of file From d387ce2319fa6d1b8b4926e8182e62228365f5c0 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:52:28 +0100 Subject: [PATCH 6/8] actual fix --- .github/workflows/codespell.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index ce5129a8b79..e584702cc70 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -13,16 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Create a virtual environment and install prerequisites + - name: Checkout the repository + uses: actions/checkout@v4 + + - name: Set up a Python venv and install prerequisites run: | python3 -m venv venv source venv/bin/activate pip install codespell - - name: Checkout the repository - uses: actions/checkout@v4 - - name: Spell check run: | - source venv/bin/activate - codespell --config=./.codespell/.codespellrc \ No newline at end of file + codespell --config=./.codespell/.codespellrc --ignore-path=venv \ No newline at end of file From dcb1a74dec93c682038a959763b45efae28851ca Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:54:07 +0100 Subject: [PATCH 7/8] actual fix --- .github/workflows/codespell.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index e584702cc70..927287011de 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -24,4 +24,5 @@ jobs: - name: Spell check run: | + source venv/bin/activate codespell --config=./.codespell/.codespellrc --ignore-path=venv \ No newline at end of file From 3c225233215141c7c7daeb896531f31ba8824658 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 27 Sep 2024 11:56:29 +0100 Subject: [PATCH 8/8] ok should be final fix --- .codespell/.codespellrc | 2 +- .github/workflows/codespell.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.codespell/.codespellrc b/.codespell/.codespellrc index 5255128dffb..95aa2b2749f 100644 --- a/.codespell/.codespellrc +++ b/.codespell/.codespellrc @@ -1,5 +1,5 @@ [codespell] -skip = .git,package-lock.json,LOG.old.* +skip = .git,package-lock.json,LOG.old.*,venv count = quiet-level = 3 ignore-words = ./.codespell/wordlist.txt \ No newline at end of file diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 927287011de..d3a8b072166 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -25,4 +25,4 @@ jobs: - name: Spell check run: | source venv/bin/activate - codespell --config=./.codespell/.codespellrc --ignore-path=venv \ No newline at end of file + codespell --config=./.codespell/.codespellrc \ No newline at end of file