diff --git a/.github/actions/run_and_upload_unit_tests/action.yml b/.github/actions/run_and_upload_unit_tests/action.yml index afc445c..1c764e1 100644 --- a/.github/actions/run_and_upload_unit_tests/action.yml +++ b/.github/actions/run_and_upload_unit_tests/action.yml @@ -7,7 +7,7 @@ runs: run: echo "osVersion=$ImageOS" >> "$GITHUB_ENV" shell: bash - name: Cache ni.datastore virtualenv - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ./.venv key: ni.datastore-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('./poetry.lock') }} @@ -20,7 +20,7 @@ runs: working-directory: . shell: bash - name: Upload ni.datastore test results - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: test_results_unit_ni.datastore_${{ env.osVersion }}_py${{ env.pythonVersion }} path: ${{ github.workspace }}/test_results/*.xml diff --git a/.github/workflows/check_docs.yml b/.github/workflows/check_docs.yml index 9f956c6..9d14ef5 100644 --- a/.github/workflows/check_docs.yml +++ b/.github/workflows/check_docs.yml @@ -23,7 +23,7 @@ jobs: - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv (with docs) - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: .venv key: ni.datastore-with-docs-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('./poetry.lock') }} @@ -32,7 +32,7 @@ jobs: - name: Generate docs run: poetry run sphinx-build docs docs/_build -b html -W - name: Upload docs artifact - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ni.datastore-docs path: ./docs/_build/ \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5921b4c..7acd3b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,7 +54,7 @@ jobs: - name: Build distribution packages run: poetry build - name: Upload build artifacts - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ${{ env.dist-artifact-name }} path: dist/* @@ -77,7 +77,7 @@ jobs: path: dist/ - run: ls -lR - name: Upload to ${{ env.environment }} - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0 with: repository-url: ${{ fromJson(env.environment-info)[env.environment].upload-url }} update_version: