diff --git a/.github/workflows/check_examples.yml b/.github/workflows/check_examples.yml index cf8c74fe6..08b047569 100644 --- a/.github/workflows/check_examples.yml +++ b/.github/workflows/check_examples.yml @@ -16,10 +16,10 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 # Updating poetry.lock for all of the examples takes over 6 minutes, so it's worth caching. - name: Cache poetry.lock uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 diff --git a/.github/workflows/check_nimg.yml b/.github/workflows/check_nimg.yml index 0dbdc24aa..1a670d593 100644 --- a/.github/workflows/check_nimg.yml +++ b/.github/workflows/check_nimg.yml @@ -26,14 +26,14 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Analyze generator - uses: ni/python-actions/analyze-project@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/analyze-project@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: packages/generator - name: Bandit security checks (ni-measurement-plugin-sdk-generator, example_renders) diff --git a/.github/workflows/check_nims.yml b/.github/workflows/check_nims.yml index 6cb8e87be..a136641d8 100644 --- a/.github/workflows/check_nims.yml +++ b/.github/workflows/check_nims.yml @@ -27,14 +27,14 @@ jobs: submodules: true persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Analyze generator - uses: ni/python-actions/analyze-project@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/analyze-project@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: packages/service install-args: --all-extras diff --git a/.github/workflows/check_nims_docs.yml b/.github/workflows/check_nims_docs.yml index abc6b1abd..7767738e4 100644 --- a/.github/workflows/check_nims_docs.yml +++ b/.github/workflows/check_nims_docs.yml @@ -21,10 +21,10 @@ jobs: submodules: true persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Install ni-measurement-plugin-sdk-service (all extras, docs) run: poetry install -v --all-extras --with docs - name: Build docs and check for errors/warnings diff --git a/.github/workflows/check_workflows.yml b/.github/workflows/check_workflows.yml index 5e32ee373..10181a89c 100644 --- a/.github/workflows/check_workflows.yml +++ b/.github/workflows/check_workflows.yml @@ -18,4 +18,4 @@ jobs: with: persist-credentials: false - name: Run zizmor - uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 \ No newline at end of file + uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4 \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1996c011f..bf73594d4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -61,21 +61,21 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: use-cache: false - name: Check project version if: github.event_name == 'release' - uses: ni/python-actions/check-project-version@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/check-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: ./packages/${{ matrix.package }} - name: Build distribution packages run: poetry build working-directory: ./packages/${{ matrix.package }} - name: Upload build artifacts - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: ${{ matrix.package }}-distribution-packages path: ./packages/${{ matrix.package }}/dist/* @@ -95,7 +95,7 @@ jobs: package: [generator, sdk, service] steps: - name: Download build artifacts - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: ${{ matrix.package }}-distribution-packages path: dist/ @@ -114,9 +114,9 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: use-cache: false - name: Get version @@ -156,24 +156,24 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: use-cache: false # Create one pull request that updates all three packages. - name: Update generator project version - uses: ni/python-actions/update-project-version@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/update-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: ./packages/generator create-pull-request: false - name: Update sdk project version - uses: ni/python-actions/update-project-version@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/update-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: ./packages/sdk create-pull-request: false - name: Update service project version - uses: ni/python-actions/update-project-version@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/update-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 with: project-directory: ./packages/service create-pull-request: true diff --git a/.github/workflows/report_test_results.yml b/.github/workflows/report_test_results.yml index 06f3513a4..289a3d9e0 100644 --- a/.github/workflows/report_test_results.yml +++ b/.github/workflows/report_test_results.yml @@ -19,7 +19,7 @@ jobs: with: persist-credentials: false - name: Download test results - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: path: test_results pattern: test_results_* diff --git a/.github/workflows/run_system_tests.yml b/.github/workflows/run_system_tests.yml index 8b72d07b7..12380345e 100644 --- a/.github/workflows/run_system_tests.yml +++ b/.github/workflows/run_system_tests.yml @@ -62,7 +62,7 @@ jobs: working-directory: ./packages/generator - name: Upload test results - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: test_results_system_${{ matrix.configuration }} path: | diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 5304ac858..1c14aaa80 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -24,12 +24,12 @@ jobs: with: persist-credentials: false - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # v0.9.0 # ni-measurement-plugin-sdk-service, no extras - name: Restore cached virtualenv (ni-measurement-plugin-sdk-service, no extras) @@ -72,7 +72,7 @@ jobs: working-directory: ./packages/service - name: Upload test results - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: test_results_unit_${{ matrix.os }}_py${{ matrix.python-version }} path: ./packages/service/test_results/*.xml