From 90ac5eeb6a895a12839d45f15e84ce4a834260b5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Jul 2020 19:49:21 +0200 Subject: [PATCH] Let shell expands $HOME in GitHub workflow Apparently $HOME doesn't get expanded otherwise, resulting in "codespell not found" error. --- .github/workflows/code_checks.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 381f88eb1f..121701be0b 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -39,7 +39,5 @@ jobs: pip3 install --no-warn-script-location codespell==1.17.1 - name: Run codespell - env: - CODESPELL: $HOME/.local/bin/codespell run: | - ./misc/scripts/spellcheck + CODESPELL=$HOME/.local/bin/codespell ./misc/scripts/spellcheck