diff --git a/.github/workflows/check_docs.yml b/.github/workflows/check_docs.yml index b516e0a..76f860b 100644 --- a/.github/workflows/check_docs.yml +++ b/.github/workflows/check_docs.yml @@ -12,10 +12,10 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 id: setup-python - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Check for lock changes run: poetry check --lock - name: Cache virtualenv (with docs) @@ -28,7 +28,7 @@ jobs: - name: Generate docs run: poetry run sphinx-build docs docs/_build -b html -W - name: Upload docs artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: nipanel-docs path: docs/_build/ diff --git a/.github/workflows/check_nipanel.yml b/.github/workflows/check_nipanel.yml index 88213a1..93562eb 100644 --- a/.github/workflows/check_nipanel.yml +++ b/.github/workflows/check_nipanel.yml @@ -16,14 +16,14 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Analyze Python Project - uses: ni/python-actions/analyze-project@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/analyze-project@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 with: install-args: "--with examples" - name: Bandit security checks diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 180440e..bdfe693 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,16 +45,16 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Check project version if: github.event_name == 'release' - uses: ni/python-actions/check-project-version@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/check-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Build distribution packages run: poetry build - name: Upload build artifacts - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: ${{ env.dist-artifact-name }} path: dist/* @@ -71,7 +71,7 @@ jobs: id-token: write steps: - name: Download build artifacts - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: ${{ env.dist-artifact-name }} path: dist/ @@ -91,8 +91,8 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Update project version - uses: ni/python-actions/update-project-version@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 \ No newline at end of file + uses: ni/python-actions/update-project-version@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 \ No newline at end of file diff --git a/.github/workflows/report_test_results.yml b/.github/workflows/report_test_results.yml index 2aaf53e..2675bf9 100644 --- a/.github/workflows/report_test_results.yml +++ b/.github/workflows/report_test_results.yml @@ -16,7 +16,7 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - 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_* @@ -24,7 +24,7 @@ jobs: - name: List downloaded files run: ls -lR - name: Publish test results - uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0 + uses: EnricoMi/publish-unit-test-result-action@7622c5bf3d112a72ab4fa3951c2aa5723d8ab92d # v2.25.0 with: files: "test_results/**/*.xml" if: always() \ No newline at end of file diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index f47803b..cc92eb1 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -19,12 +19,12 @@ jobs: - name: Check out repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Python - uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-python@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 id: setup-python with: python-version: ${{ matrix.python-version }} - name: Set up Poetry - uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # 0.8.0 + uses: ni/python-actions/setup-poetry@dee640bba235ae28fdc6b7337c643bd06358ae90 # 0.9.0 - name: Cache virtualenv uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: @@ -35,7 +35,7 @@ jobs: - name: Run unit tests and code coverage run: poetry run pytest ./tests/unit -v --cov=nipanel --junitxml=test_results/nipanel-${{ matrix.os }}-py${{ matrix.python-version }}.xml - 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: ./test_results/*.xml