66
66
pytest --cov=pymodaq_utils --ignore-glob='*legacy*' -n 1
67
67
mv .coverage coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
68
68
- name : Upload coverage artifact
69
- uses : actions/upload-artifact@v4
69
+ uses : actions/upload-artifact@v4.5.0
70
70
with :
71
71
name : coverage-${{ matrix.os }}-${{ matrix.python-version }}
72
72
path : coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
@@ -80,15 +80,15 @@ jobs:
80
80
81
81
- name : generate badge (success)
82
82
if : ${{ success() }}
83
- uses : emibcn/badge-action@v2.0.2
83
+ uses : emibcn/badge-action@v2.0.3
84
84
with :
85
85
label : ' '
86
86
status : ' passing'
87
87
color : ' green'
88
88
path : ' ${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
89
89
- name : generate badge (fail)
90
90
if : ${{ failure() }}
91
- uses : emibcn/badge-action@v2.0.2
91
+ uses : emibcn/badge-action@v2.0.3
92
92
with :
93
93
label : ' '
94
94
status : ' failing'
98
98
99
99
- name : Upload badge artifact
100
100
if : ${{ always() }}
101
- uses : actions/upload-artifact@v4
101
+ uses : actions/upload-artifact@v4.5.0
102
102
with :
103
103
name : tests_${{runner.os}}_${{matrix.python-version}}
104
104
path : ' ${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
@@ -112,12 +112,12 @@ jobs:
112
112
needs : tests # Ensure this job runs after all matrix jobs complete
113
113
steps :
114
114
# switch to badges branches to commit
115
- - uses : actions/checkout@v4
115
+ - uses : actions/checkout@v4.2.2
116
116
with :
117
117
ref : badges
118
118
119
119
- name : Download badges
120
- uses : actions/download-artifact@v4
120
+ uses : actions/download-artifact@v4.1.8
121
121
122
122
- name : Reorganize badges
123
123
run : |
@@ -136,7 +136,7 @@ jobs:
136
136
git commit --allow-empty -m "Add/Update badge"
137
137
138
138
- name : Push badges
139
- uses : ad-m/github-push-action@master
139
+ uses : ad-m/github-push-action@v0.8.0
140
140
if : ${{ success() }}
141
141
with :
142
142
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -150,7 +150,7 @@ jobs:
150
150
uses : actions/checkout@v4.2.2
151
151
152
152
- name : Download all coverage artifacts
153
- uses : actions/download-artifact@v4
153
+ uses : actions/download-artifact@v4.1.8
154
154
with :
155
155
path : ./coverage-reports
156
156
@@ -171,7 +171,7 @@ jobs:
171
171
coverage xml -i
172
172
173
173
- name : Upload combined coverage report to Codecov
174
- uses : codecov/codecov-action@v5.0.7
174
+ uses : codecov/codecov-action@v5.1.2
175
175
with :
176
176
token : ${{ secrets.CODECOV_TOKEN }}
177
177
files : coverage.xml
0 commit comments