diff --git a/.github/workflows/check_examples.yml b/.github/workflows/check_examples.yml index 7891238c1..080dfe6e9 100644 --- a/.github/workflows/check_examples.yml +++ b/.github/workflows/check_examples.yml @@ -12,13 +12,13 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 # Updating poetry.lock for all of the examples takes over 6 minutes, so it's worth caching. - name: Cache poetry.lock - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: cache-poetry-lock with: path: 'examples/**/poetry.lock' @@ -35,7 +35,7 @@ jobs: echo "::endgroup::" done - name: Cache virtualenvs - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: cache-venv with: path: 'examples/**/.venv' diff --git a/.github/workflows/check_nimg.yml b/.github/workflows/check_nimg.yml index 95c925522..7d23a6540 100644 --- a/.github/workflows/check_nimg.yml +++ b/.github/workflows/check_nimg.yml @@ -22,14 +22,14 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Analyze generator - uses: ni/python-actions/analyze-project@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/analyze-project@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 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 30313ab09..43bf46316 100644 --- a/.github/workflows/check_nims.yml +++ b/.github/workflows/check_nims.yml @@ -24,14 +24,14 @@ jobs: with: submodules: true - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Analyze generator - uses: ni/python-actions/analyze-project@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/analyze-project@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 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 18d1209db..3dbc3f115 100644 --- a/.github/workflows/check_nims_docs.yml +++ b/.github/workflows/check_nims_docs.yml @@ -18,10 +18,10 @@ jobs: with: submodules: true - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - 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/publish.yml b/.github/workflows/publish.yml index 2ad3995ba..bd425daee 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,12 +57,12 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Check project version if: github.event_name == 'release' - uses: ni/python-actions/check-project-version@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/check-project-version@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 with: project-directory: ./packages/${{ matrix.package }} - name: Build distribution packages @@ -106,9 +106,9 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Get version id: get-version run: echo "version=$(poetry version --short)" >> "$GITHUB_OUTPUT" @@ -124,7 +124,7 @@ jobs: git archive -o dist/${EXAMPLE_ARCHIVE}.tar.gz --prefix ${EXAMPLE_ARCHIVE}/ ${GITHUB_REF}:examples/ - name: Upload release assets if: ${{ startsWith(github.event.release.target_commitish, 'main') || startsWith(github.event.release.target_commitish, 'releases/') }} - uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0 + uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 with: artifacts: "dist/measurement-plugin-python-examples-*" allowUpdates: true @@ -144,22 +144,22 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 # Create one pull request that updates all three packages. - name: Update generator project version - uses: ni/python-actions/update-project-version@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/update-project-version@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 with: project-directory: ./packages/generator create-pull-request: false - name: Update sdk project version - uses: ni/python-actions/update-project-version@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/update-project-version@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 with: project-directory: ./packages/sdk create-pull-request: false - name: Update service project version - uses: ni/python-actions/update-project-version@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/update-project-version@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 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 c4f576c2a..09aa13cb9 100644 --- a/.github/workflows/report_test_results.yml +++ b/.github/workflows/report_test_results.yml @@ -23,7 +23,7 @@ jobs: - name: List downloaded files run: ls -lR - name: Publish test results - uses: EnricoMi/publish-unit-test-result-action@27d65e188ec43221b20d26de30f4892fad91df2f # v2.22.0 + uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0 with: files: "test_results/**/*.xml" if: always() \ No newline at end of file diff --git a/.github/workflows/run_system_tests.yml b/.github/workflows/run_system_tests.yml index eb0cda930..1c265e60f 100644 --- a/.github/workflows/run_system_tests.yml +++ b/.github/workflows/run_system_tests.yml @@ -27,7 +27,7 @@ jobs: # ni-measurement-plugin-sdk-service - name: Cache virtualenv (ni-measurement-plugin-sdk-service) - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: cache-nims with: path: | @@ -43,7 +43,7 @@ jobs: # ni-measurement-plugin-sdk-generator - name: Cache virtualenv (ni-measurement-plugin-sdk-generator) - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: cache-nimg with: path: | diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index c1706e080..1fbbdee2c 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -20,16 +20,16 @@ jobs: - name: Check out repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: ni/python-actions/setup-python@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@aa64e60612cb078b0c2ada666becbd70d4817d55 # v0.7.1 + uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2 # ni-measurement-plugin-sdk-service, no extras - name: Restore cached virtualenv (ni-measurement-plugin-sdk-service, no extras) - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: restore-nims-no-extras with: path: packages/service/.venv @@ -38,7 +38,7 @@ jobs: run: poetry install -v working-directory: ./packages/service - name: Save cached virtualenv (ni-measurement-plugin-sdk-service, no extras) - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 if: steps.restore-nims-no-extras.outputs.cache-hit != 'true' with: path: packages/service/.venv @@ -49,7 +49,7 @@ jobs: # ni-measurement-plugin-sdk-service, all extras - name: Restore cached virtualenv (ni-measurement-plugin-sdk-service, all extras) - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 id: restore-nims-all-extras with: path: packages/service/.venv @@ -58,7 +58,7 @@ jobs: run: poetry install -v --all-extras working-directory: ./packages/service - name: Save cached ni-measurement-plugin-sdk-service virtualenv (all extras) - uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 if: steps.restore-nims-all-extras.outputs.cache-hit != 'true' with: path: packages/service/.venv