Skip to content

Commit 0553a2d

Browse files
Update GitHub Action Versions
1 parent f4586af commit 0553a2d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
pytest --cov=pymodaq_utils --ignore-glob='*legacy*' -n 1
6767
mv .coverage coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
6868
- name: Upload coverage artifact
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v4.5.0
7070
with:
7171
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
7272
path: coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
@@ -80,15 +80,15 @@ jobs:
8080
8181
- name: generate badge (success)
8282
if: ${{ success() }}
83-
uses: emibcn/badge-action@v2.0.2
83+
uses: emibcn/badge-action@v2.0.3
8484
with:
8585
label: ''
8686
status: 'passing'
8787
color: 'green'
8888
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
8989
- name: generate badge (fail)
9090
if: ${{ failure() }}
91-
uses: emibcn/badge-action@v2.0.2
91+
uses: emibcn/badge-action@v2.0.3
9292
with:
9393
label: ''
9494
status: 'failing'
@@ -98,7 +98,7 @@ jobs:
9898

9999
- name: Upload badge artifact
100100
if: ${{ always() }}
101-
uses: actions/upload-artifact@v4
101+
uses: actions/upload-artifact@v4.5.0
102102
with:
103103
name: tests_${{runner.os}}_${{matrix.python-version}}
104104
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
@@ -112,12 +112,12 @@ jobs:
112112
needs: tests # Ensure this job runs after all matrix jobs complete
113113
steps:
114114
# switch to badges branches to commit
115-
- uses: actions/checkout@v4
115+
- uses: actions/checkout@v4.2.2
116116
with:
117117
ref: badges
118118

119119
- name: Download badges
120-
uses: actions/download-artifact@v4
120+
uses: actions/download-artifact@v4.1.8
121121

122122
- name: Reorganize badges
123123
run: |
@@ -136,7 +136,7 @@ jobs:
136136
git commit --allow-empty -m "Add/Update badge"
137137
138138
- name: Push badges
139-
uses: ad-m/github-push-action@master
139+
uses: ad-m/github-push-action@v0.8.0
140140
if: ${{ success() }}
141141
with:
142142
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -150,7 +150,7 @@ jobs:
150150
uses: actions/checkout@v4.2.2
151151

152152
- name: Download all coverage artifacts
153-
uses: actions/download-artifact@v4
153+
uses: actions/download-artifact@v4.1.8
154154
with:
155155
path: ./coverage-reports
156156

@@ -171,7 +171,7 @@ jobs:
171171
coverage xml -i
172172
173173
- name: Upload combined coverage report to Codecov
174-
uses: codecov/codecov-action@v5.0.7
174+
uses: codecov/codecov-action@v5.1.2
175175
with:
176176
token: ${{ secrets.CODECOV_TOKEN }}
177177
files: coverage.xml

0 commit comments

Comments
 (0)