From bea739fd58f6a4506e285ee48536d88873bb21c5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 15:48:23 +0000 Subject: [PATCH 1/2] chore(deps): update ni/python-actions action to v0.7.0 --- .github/workflows/check_analyzers.yml | 6 +++--- .github/workflows/check_codegen.yml | 4 ++-- .github/workflows/check_docs.yml | 4 ++-- .github/workflows/publish.yml | 12 ++++++------ .github/workflows/test_package.yml | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/check_analyzers.yml b/.github/workflows/check_analyzers.yml index 0eb8508f..0f11a99e 100644 --- a/.github/workflows/check_analyzers.yml +++ b/.github/workflows/check_analyzers.yml @@ -37,14 +37,14 @@ jobs: with: submodules: true - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Analyze Python Project - uses: ni/python-actions/analyze-project@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: project-directory: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }} extras: ${{ inputs.install-extras }} diff --git a/.github/workflows/check_codegen.yml b/.github/workflows/check_codegen.yml index d45f86a4..d77e5073 100644 --- a/.github/workflows/check_codegen.yml +++ b/.github/workflows/check_codegen.yml @@ -49,10 +49,10 @@ jobs: with: submodules: true - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv diff --git a/.github/workflows/check_docs.yml b/.github/workflows/check_docs.yml index a1e9de02..20854a07 100644 --- a/.github/workflows/check_docs.yml +++ b/.github/workflows/check_docs.yml @@ -26,10 +26,10 @@ jobs: - name: Check out repo uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv (with docs) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b5205bf4..540a3c7f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -106,12 +106,12 @@ jobs: - name: Check out repo uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Check project version if: github.event_name == 'release' - uses: ni/python-actions/check-project-version@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/check-project-version@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: project-directory: ./${{ needs.get_package_info.outputs.package-basepath }}/${{ needs.get_publish_info.outputs.package-name }} expected-version: ${{ needs.get_publish_info.outputs.package-version }} @@ -158,11 +158,11 @@ jobs: - name: Check out repo uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Update project version - uses: ni/python-actions/update-project-version@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/update-project-version@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: project-directory: ./${{ needs.get_package_info.outputs.package-basepath }}/${{ needs.get_publish_info.outputs.package-name }} branch-prefix: users/build/${{ needs.get_publish_info.outputs.package-name }}- diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index cb2d1b98..01fad62e 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -39,12 +39,12 @@ jobs: with: submodules: true - name: Set up Python - uses: ni/python-actions/setup-python@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@f42e2f27a585f5d47efcab79b608ec0ec97191c9 # v0.6.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - uses: ./.github/actions/run_and_upload_unit_tests with: package-name: ${{ inputs.package-name }} From d104a33f0b28d5c972cbeddf732916f55d6fcc8b Mon Sep 17 00:00:00 2001 From: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com> Date: Mon, 6 Oct 2025 09:28:24 -0700 Subject: [PATCH 2/2] Use updated "install-args" argument syntax for ni/python-actions/analyze-project Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com> --- .github/workflows/check_analyzers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_analyzers.yml b/.github/workflows/check_analyzers.yml index 0f11a99e..6b9d62f6 100644 --- a/.github/workflows/check_analyzers.yml +++ b/.github/workflows/check_analyzers.yml @@ -47,6 +47,6 @@ jobs: uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: project-directory: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }} - extras: ${{ inputs.install-extras }} + install-args: "--extras '${{ inputs.install-extras }}'" - name: Bandit security checks - run: poetry run bandit -c pyproject.toml -r src/ \ No newline at end of file + run: poetry run bandit -c pyproject.toml -r src/