diff --git a/.github/workflows/lint-and-build.yml b/.github/workflows/lint-and-build.yml index fdae3d02..9b1b9353 100644 --- a/.github/workflows/lint-and-build.yml +++ b/.github/workflows/lint-and-build.yml @@ -81,11 +81,8 @@ jobs: - name: Get pyright version id: pyright_version run: | - PYRIGHT_VERSION=$(grep '$pyrightVersion = ' 'scripts/lint.ps1' | cut -d "#" -f 1 | cut -d = -f 2 | tr -d ' ') + PYRIGHT_VERSION=$(grep '$pyrightVersion = ' 'scripts/lint.ps1' | cut -d "#" -f 1 | cut -d = -f 2 | tr -d " '") echo pyright version: "${PYRIGHT_VERSION}" - if [ "$PYRIGHT_VERSION" = "'latest'" ]; then - PYRIGHT_VERSION= - fi echo PYRIGHT_VERSION="${PYRIGHT_VERSION}" >> "${GITHUB_OUTPUT}" shell: bash - name: Analysing the code with Pyright diff --git a/README.md b/README.md index 5f42ad4a..d8de43e0 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Not a developer? You can still help through the following methods: - - - + - - - -