Skip to content

Commit ebe4394

Browse files
Updated other actions to later versions. (ci and release tag workflows)
1 parent 4f272c1 commit ebe4394

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
outputs:
2121
artifact-name: ${{ steps.build.outputs.artifact-name }}
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- uses: ./.github/actions/build-python-package
2525
id: build
2626
with:
@@ -39,8 +39,8 @@ jobs:
3939
if: startsWith(github.head_ref, 'release-')
4040

4141
steps:
42-
- uses: actions/checkout@v3
43-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v4
4444
with:
4545
repository: conda-forge/emsarray-feedstock
4646
path: emsarray-feedstock
@@ -75,7 +75,7 @@ jobs:
7575

7676

7777
steps:
78-
- uses: actions/checkout@v3
78+
- uses: actions/checkout@v4
7979
- uses: ./.github/actions/environment
8080
with:
8181
python-version: ${{ matrix.python-version }}
@@ -95,22 +95,22 @@ jobs:
9595
--cov-report xml:coverage-${{ matrix.python-version }}.xml
9696
9797
- name: JUnit Report
98-
uses: mikepenz/action-junit-report@v3
98+
uses: mikepenz/action-junit-report@v5
9999
if: always()
100100
with:
101101
report_paths: 'junit-py*.xml'
102102
check_name: "JUnit Test Report - python ${{ matrix.python-version }}, ${{ matrix.dependencies }} dependencies"
103103

104104
- name: MPL image comparison report
105-
uses: actions/upload-artifact@v3
105+
uses: actions/upload-artifact@v4
106106
if: ${{ failure() }}
107107
with:
108108
name: "MPL image comparison report - python ${{ matrix.python-version }}, ${{ matrix.dependencies }} dependencies"
109109
path: './mpl-results'
110110
# No guarantee that the test failures were due to image comparisons
111111
if-no-files-found: 'ignore'
112112

113-
- uses: actions/upload-artifact@v3
113+
- uses: actions/upload-artifact@v4
114114
with:
115115
name: Code coverage for Python ${{ matrix.python-version }}
116116
path: coverage-*.xml
@@ -125,14 +125,14 @@ jobs:
125125
shell: bash -l {0}
126126

127127
steps:
128-
- uses: actions/checkout@v3
128+
- uses: actions/checkout@v4
129129
- uses: ./.github/actions/environment
130130
with:
131131
python-version: ${{ env.python-version }}
132132
package-artifact-name: ${{ needs.build.outputs.artifact-name }}
133133

134134
- name: 'mypy cache'
135-
uses: actions/cache@v3
135+
uses: actions/cache@v4
136136
with:
137137
path: '.mypy_cache'
138138
key: mypy-${{ runner.os }}-py${{ env.python-version }}-${{ hashFiles(format('continuous-integration/requirements-{0}.txt', env.python-version)) }}
@@ -151,7 +151,7 @@ jobs:
151151
shell: bash -l {0}
152152

153153
steps:
154-
- uses: actions/checkout@v3
154+
- uses: actions/checkout@v4
155155
- uses: ./.github/actions/environment
156156
with:
157157
python-version: ${{ env.python-version }}
@@ -162,7 +162,7 @@ jobs:
162162
cd docs/
163163
sphinx-build -b dirhtml -aEW . _build/dirhtml
164164
165-
- uses: actions/upload-artifact@v3
165+
- uses: actions/upload-artifact@v4
166166
with:
167167
name: Docs
168168
path: docs/_build/dirhtml

.github/workflows/release-tags.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
outputs:
1616
artifact-name: ${{ steps.build.outputs.artifact-name }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- uses: ./.github/actions/build-python-package
2020
id: build
2121
with:
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Fetch Python package
31-
uses: actions/download-artifact@v3
31+
uses: actions/download-artifact@v4
3232
with:
3333
name: ${{ needs.build.outputs.artifact-name }}
3434
path: "dist"

0 commit comments

Comments
 (0)