diff --git a/.github/actions/run_and_upload_unit_tests/action.yml b/.github/actions/run_and_upload_unit_tests/action.yml index 890292e6..54974817 100644 --- a/.github/actions/run_and_upload_unit_tests/action.yml +++ b/.github/actions/run_and_upload_unit_tests/action.yml @@ -15,7 +15,7 @@ runs: run: echo "osVersion=$ImageOS" >> "$GITHUB_ENV" shell: bash - name: Cache ${{ inputs.package-name }} virtualenv - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 with: path: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }}/.venv key: ${{ inputs.package-name }}-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles(format('{0}/{1}/poetry.lock', inputs.package-basepath, inputs.package-name)) }} @@ -28,7 +28,7 @@ runs: working-directory: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }} shell: bash - name: Upload ${{ inputs.package-name }} test results - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: test_results_unit_${{ inputs.package-name }}_${{ env.osVersion }}_py${{ env.pythonVersion }} path: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }}/test_results/*.xml diff --git a/.github/workflows/check_analyzers.yml b/.github/workflows/check_analyzers.yml index c5889de9..32c4c7cd 100644 --- a/.github/workflows/check_analyzers.yml +++ b/.github/workflows/check_analyzers.yml @@ -33,7 +33,7 @@ jobs: working-directory: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }} steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: true - name: Set up Python diff --git a/.github/workflows/check_codegen.yml b/.github/workflows/check_codegen.yml index ddbfdf0e..8267658b 100644 --- a/.github/workflows/check_codegen.yml +++ b/.github/workflows/check_codegen.yml @@ -45,7 +45,7 @@ jobs: if: ${{ !endsWith(inputs.package-name, '.proto') && inputs.package-name != 'ni.protobuf.types' }} run: echo "::error title=Package Name Error::Invalid package name ${{ inputs.package-name }}. The package name must end in '.proto'." - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: true - name: Set up Python @@ -56,7 +56,7 @@ jobs: - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 with: path: ${{ github.workspace }}/tools/grpc_generator/.venv key: grpc_generator-only-main-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('tools/grpc_generator/poetry.lock') }} diff --git a/.github/workflows/check_docs.yml b/.github/workflows/check_docs.yml index bb4ccbe7..f1c16165 100644 --- a/.github/workflows/check_docs.yml +++ b/.github/workflows/check_docs.yml @@ -24,7 +24,7 @@ jobs: working-directory: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }} steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Python uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 id: setup-python @@ -33,7 +33,7 @@ jobs: - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv (with docs) - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 with: path: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }}/.venv key: ${{ inputs.package-name }}-with-docs-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles(format('{0}/{1}/poetry.lock', inputs.package-basepath, inputs.package-name)) }} @@ -42,7 +42,7 @@ jobs: - name: Generate docs run: poetry run sphinx-build docs docs/_build -b html -W - name: Upload docs artifact - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: ${{ inputs.package-name }}-docs path: ${{ github.workspace }}/${{ inputs.package-basepath }}/${{ inputs.package-name }}/docs/_build/ diff --git a/.github/workflows/draft_release.yml b/.github/workflows/draft_release.yml index 1377b7fa..a2c43cfa 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/draft_release.yml @@ -43,7 +43,7 @@ jobs: fi - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: fetch-depth: 0 # Need full history for git tag and release notes - name: Set up Python diff --git a/.github/workflows/get_package_info.yml b/.github/workflows/get_package_info.yml index 878ba55f..fc853563 100644 --- a/.github/workflows/get_package_info.yml +++ b/.github/workflows/get_package_info.yml @@ -53,7 +53,7 @@ jobs: should-run-tests: ${{ steps.parse_json.outputs.should-run-tests }} steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Get package info from JSON id: parse_json # NOTE: jq only supports standard JSON, not JSONC or JSON5 diff --git a/.github/workflows/get_package_names.yml b/.github/workflows/get_package_names.yml index 4c9df72b..b319212a 100644 --- a/.github/workflows/get_package_names.yml +++ b/.github/workflows/get_package_names.yml @@ -15,7 +15,7 @@ jobs: package-names: ${{ steps.parse_json.outputs.package-names }} steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Get package info from JSON id: parse_json # NOTE: jq only supports standard JSON, not JSONC or JSON5 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 83f2e6a7..fb07ee46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -104,7 +104,7 @@ jobs: needs: [get_publish_info, get_package_info, check_analyzers, check_docs] steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Python uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry @@ -119,7 +119,7 @@ jobs: run: poetry build working-directory: ${{ github.workspace }}/${{ needs.get_package_info.outputs.package-basepath }}/${{ needs.get_publish_info.outputs.package-name }} - name: Upload build artifacts - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: ${{ needs.get_publish_info.outputs.package-name }}-distribution-packages path: ./${{ needs.get_package_info.outputs.package-basepath }}/${{ needs.get_publish_info.outputs.package-name }}/dist/* @@ -136,7 +136,7 @@ jobs: id-token: write steps: - name: Download build artifacts - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: ${{ needs.get_publish_info.outputs.package-name }}-distribution-packages path: ./${{ needs.get_package_info.outputs.package-basepath }}/${{ needs.get_publish_info.outputs.package-name }}/dist/ @@ -156,7 +156,7 @@ jobs: pull-requests: write steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Set up Python uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry diff --git a/.github/workflows/report_test_results.yml b/.github/workflows/report_test_results.yml index a5bf3860..e8704c08 100644 --- a/.github/workflows/report_test_results.yml +++ b/.github/workflows/report_test_results.yml @@ -14,9 +14,9 @@ jobs: pull-requests: write steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download test results - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: test_results pattern: test_results_* diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index c286a70b..ddea95b1 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -35,7 +35,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Check out repo - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: submodules: true - name: Set up Python