From 073503491c8c97afe0192b6088eb5be0fb56d54c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 5 Jan 2025 01:14:32 +0000 Subject: [PATCH] Update GitHub Action Versions --- .github/workflows/tests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5886b482..d60a9772 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,7 +66,7 @@ jobs: pytest --cov=pymodaq_data -n 1 mv .coverage coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }} - name: Upload coverage artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.5.0 with: name: coverage-${{ matrix.os }}-${{ matrix.python-version }} path: coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }} @@ -80,7 +80,7 @@ jobs: - name: generate badge (success) if: ${{ success() }} - uses: emibcn/badge-action@v2.0.2 + uses: emibcn/badge-action@v2.0.3 with: label: '' status: 'passing' @@ -88,7 +88,7 @@ jobs: path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg' - name: generate badge (fail) if: ${{ failure() }} - uses: emibcn/badge-action@v2.0.2 + uses: emibcn/badge-action@v2.0.3 with: label: '' status: 'failing' @@ -98,7 +98,7 @@ jobs: - name: Upload badge artifact if: ${{ always() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.5.0 with: name: tests_${{runner.os}}_${{matrix.python-version}} path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg' @@ -112,12 +112,12 @@ jobs: needs: tests # Ensure this job runs after all matrix jobs complete steps: # switch to badges branches to commit - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.2.2 with: ref: badges - name: Download badges - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v4.1.8 - name: Reorganize badges run: | @@ -136,7 +136,7 @@ jobs: git commit --allow-empty -m "Add/Update badge" - name: Push badges - uses: ad-m/github-push-action@master + uses: ad-m/github-push-action@v0.8.0 if: ${{ success() }} with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -150,7 +150,7 @@ jobs: uses: actions/checkout@v4.2.2 - name: Download all coverage artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v4.1.8 with: path: ./coverage-reports @@ -171,7 +171,7 @@ jobs: coverage xml -i - name: Upload combined coverage report to Codecov - uses: codecov/codecov-action@v5.0.7 + uses: codecov/codecov-action@v5.1.2 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml \ No newline at end of file