From 81a67c5064ce4945f27f6bbf12635f58565e14f6 Mon Sep 17 00:00:00 2001 From: EugeneP Date: Fri, 13 Sep 2024 10:26:24 +0200 Subject: [PATCH] Test workflow --- .github/workflows/python-typecheck-new-files.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-typecheck-new-files.yml b/.github/workflows/python-typecheck-new-files.yml index 7d7b8d775b..b895eddafd 100644 --- a/.github/workflows/python-typecheck-new-files.yml +++ b/.github/workflows/python-typecheck-new-files.yml @@ -13,18 +13,16 @@ jobs: - run: pipx install poetry - uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.11' cache: 'poetry' - run: poetry install - - run: | - echo "AAA: $(poetry env info --path)/bin" + - run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH - name: Get new files added in the PR id: get_new_files run: | git fetch origin main NEW_PY_FILES=$(git diff --name-only --diff-filter=A origin/main HEAD | grep '\.py$' | tr '\n' ' ') echo "New files: $NEW_PY_FILES" - echo "New PATH: $(poetry env info --path)/bin" echo "new_py_files=$NEW_PY_FILES" >> $GITHUB_OUTPUT - name: Typecheck new files uses: jakebailey/pyright-action@v2