Skip to content

Commit 2f0478c

Browse files
committed
Updating Github action versions that the CI is warning will be deprecated. Checkout to v4, setup-python to v5, cache to v4, upload-artifact to v4, setup-miniconda to v3.
1 parent 046559b commit 2f0478c

File tree

6 files changed

+34
-34
lines changed

6 files changed

+34
-34
lines changed

.github/workflows/ci_build_scm_ubuntu_22.04.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# Initial
3131
#######################################################################################
3232
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Initialize submodules
3636
run: git submodule update --init --recursive
@@ -39,7 +39,7 @@ jobs:
3939
# Python setup
4040
#######################################################################################
4141
- name: Set up Python
42-
uses: actions/setup-python@v3
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{matrix.py-version}}
4545

@@ -87,7 +87,7 @@ jobs:
8787
8888
- name: Cache bacio library v2.4.1
8989
id: cache-bacio-fortran
90-
uses: actions/cache@v3
90+
uses: actions/cache@v4
9191
with:
9292
path: /home/runner/bacio
9393
key: cache-bacio-fortran-${{matrix.fortran-compiler}}-key
@@ -104,7 +104,7 @@ jobs:
104104
105105
- name: Cache SP-library v2.3.3
106106
id: cache-sp-fortran
107-
uses: actions/cache@v3
107+
uses: actions/cache@v4
108108
with:
109109
path: /home/runner/NCEPLIBS-sp
110110
key: cache-sp-fortran-${{matrix.fortran-compiler}}-key
@@ -121,7 +121,7 @@ jobs:
121121
122122
- name: Cache w3emc library v2.9.2
123123
id: cache-w3emc-fortran
124-
uses: actions/cache@v3
124+
uses: actions/cache@v4
125125
with:
126126
path: /home/runner/myw3emc
127127
key: cache-w3emc-fortran-${{matrix.fortran-compiler}}-key
@@ -143,7 +143,7 @@ jobs:
143143
144144
- name: Cache NetCDF Fortran library
145145
id: cache-netcdf-fortran
146-
uses: actions/cache@v3
146+
uses: actions/cache@v4
147147
with:
148148
path: /home/runner/netcdf-fortran
149149
key: cache-netcdf-fortran-${{matrix.fortran-compiler}}-key

.github/workflows/ci_build_scm_ubuntu_22.04_nvidia.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# Initial
6161
#######################################################################################
6262
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
63-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6464

6565
- name: Initialize submodules
6666
run: git submodule update --init --recursive
@@ -69,7 +69,7 @@ jobs:
6969
# Python setup
7070
#######################################################################################
7171
- name: Set up Python
72-
uses: actions/setup-python@v3
72+
uses: actions/setup-python@v5
7373
with:
7474
python-version: ${{matrix.py-version}}
7575

@@ -151,7 +151,7 @@ jobs:
151151
152152
- name: Cache NetCDF C library
153153
id: cache-netcdf-c
154-
uses: actions/cache@v3
154+
uses: actions/cache@v4
155155
with:
156156
path: /home/runner/netcdf-c
157157
key: cache-netcdf-c-${{matrix.fortran-compiler}}-key
@@ -170,7 +170,7 @@ jobs:
170170
171171
- name: Cache NetCDF Fortran library
172172
id: cache-netcdf-fortran
173-
uses: actions/cache@v3
173+
uses: actions/cache@v4
174174
with:
175175
path: /home/runner/netcdf-fortran
176176
key: cache-netcdf-fortran-${{matrix.fortran-compiler}}-key
@@ -187,7 +187,7 @@ jobs:
187187
188188
- name: Cache bacio library v2.4.1
189189
id: cache-bacio-fortran
190-
uses: actions/cache@v3
190+
uses: actions/cache@v4
191191
with:
192192
path: /home/runner/bacio
193193
key: cache-bacio-fortran-${{matrix.fortran-compiler}}-key
@@ -204,7 +204,7 @@ jobs:
204204
205205
- name: Cache SP-library v2.3.3
206206
id: cache-sp-fortran
207-
uses: actions/cache@v3
207+
uses: actions/cache@v4
208208
with:
209209
path: /home/runner/NCEPLIBS-sp
210210
key: cache-sp-fortran-${{matrix.fortran-compiler}}-key
@@ -221,7 +221,7 @@ jobs:
221221
222222
- name: Cache w3emc library v2.9.2
223223
id: cache-w3emc-fortran
224-
uses: actions/cache@v3
224+
uses: actions/cache@v4
225225
with:
226226
path: /home/runner/myw3emc
227227
key: cache-w3emc-fortran-${{matrix.fortran-compiler}}-key

.github/workflows/ci_run_scm_DEPHY.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Initial
2929
#######################################################################################
3030
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
- name: Initialize submodules
3434
run: git submodule update --init --recursive
@@ -37,7 +37,7 @@ jobs:
3737
# Python setup
3838
#######################################################################################
3939
- name: Set up Python
40-
uses: actions/setup-python@v3
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{matrix.py-version}}
4343

@@ -56,7 +56,7 @@ jobs:
5656
#######################################################################################
5757
- name: Cache bacio library v2.4.1
5858
id: cache-bacio-fortran
59-
uses: actions/cache@v3
59+
uses: actions/cache@v4
6060
with:
6161
path: /home/runner/bacio
6262
key: cache-bacio-fortran-${{matrix.fortran-compiler}}-key
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Cache SP-library v2.3.3
7575
id: cache-sp-fortran
76-
uses: actions/cache@v3
76+
uses: actions/cache@v4
7777
with:
7878
path: /home/runner/NCEPLIBS-sp
7979
key: cache-sp-fortran-${{matrix.fortran-compiler}}-key
@@ -90,7 +90,7 @@ jobs:
9090
9191
- name: Cache w3emc library v2.9.2
9292
id: cache-w3emc-fortran
93-
uses: actions/cache@v3
93+
uses: actions/cache@v4
9494
with:
9595
path: /home/runner/myw3emc
9696
key: cache-w3emc-fortran-${{matrix.fortran-compiler}}-key
@@ -110,7 +110,7 @@ jobs:
110110

111111
- name: Cache NetCDF Fortran library v4.4.4
112112
id: cache-netcdf-fortran
113-
uses: actions/cache@v3
113+
uses: actions/cache@v4
114114
with:
115115
path: /home/runner/netcdf-fortran
116116
key: cache-netcdf-fortran-${{matrix.fortran-compiler}}-key

.github/workflows/ci_run_scm_rts.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# Initial
3333
#######################################################################################
3434
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: Initialize submodules
3838
run: git submodule update --init --recursive
@@ -41,7 +41,7 @@ jobs:
4141
# Python setup
4242
#######################################################################################
4343
- name: Set up Python
44-
uses: actions/setup-python@v3
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: ${{matrix.py-version}}
4747

@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Cache bacio library v2.4.1
7575
id: cache-bacio-fortran
76-
uses: actions/cache@v3
76+
uses: actions/cache@v4
7777
with:
7878
path: /home/runner/bacio
7979
key: cache-bacio-fortran-${{matrix.fortran-compiler}}-key
@@ -90,7 +90,7 @@ jobs:
9090
9191
- name: Cache SP-library v2.3.3
9292
id: cache-sp-fortran
93-
uses: actions/cache@v3
93+
uses: actions/cache@v4
9494
with:
9595
path: /home/runner/NCEPLIBS-sp
9696
key: cache-sp-fortran-${{matrix.fortran-compiler}}-key
@@ -107,7 +107,7 @@ jobs:
107107
108108
- name: Cache w3emc library v2.9.2
109109
id: cache-w3emc-fortran
110-
uses: actions/cache@v3
110+
uses: actions/cache@v4
111111
with:
112112
path: /home/runner/myw3emc
113113
key: cache-w3emc-fortran-${{matrix.fortran-compiler}}-key
@@ -127,7 +127,7 @@ jobs:
127127

128128
- name: Cache NetCDF Fortran library
129129
id: cache-netcdf-fortran
130-
uses: actions/cache@v3
130+
uses: actions/cache@v4
131131
with:
132132
path: /home/runner/netcdf-fortran
133133
key: cache-netcdf-fortran-${{matrix.fortran-compiler}}-key
@@ -196,7 +196,7 @@ jobs:
196196
./cmp_rt2bl.py --build_type ${{matrix.build-type}} --dir_rt ${dir_rt} --dir_bl ${dir_bl}
197197
198198
- name: Upload SCM RTs as GitHub Artifact
199-
uses: actions/upload-artifact@v2
199+
uses: actions/upload-artifact@v4
200200
with:
201201
name: rt-baselines-${{matrix.build-type}}
202202
path: /home/runner/work/ccpp-scm/ccpp-scm/test/artifact-${{matrix.build-type}}

.github/workflows/ci_run_scm_ufs_replay.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
#######################################################################################
2424

2525
- name: Checkout SCM.
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Initialize SCM submodules.
2929
run: git submodule update --init --recursive
@@ -32,13 +32,13 @@ jobs:
3232
run: sudo apt-get update
3333

3434
- name: Cache conda
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: ~/conda_pkgs_dir
3838
key: conda-pkgs
3939

4040
- name: Setup python.
41-
uses: conda-incubator/setup-miniconda@v2
41+
uses: conda-incubator/setup-miniconda@v3
4242
with:
4343
activate-environment: env_ufsreplay
4444
environment-file: environment-ufsreplay.yml
@@ -51,7 +51,7 @@ jobs:
5151
#######################################################################################
5252

5353
- name: Cache UWM regression test output.
54-
uses: actions/cache@v3
54+
uses: actions/cache@v4
5555
with:
5656
path: ${dir_rt_cache}
5757
key: ufs-rt-files
@@ -72,4 +72,4 @@ jobs:
7272
7373
#######################################################################################
7474
# Done
75-
#######################################################################################
75+
#######################################################################################

.github/workflows/ci_scm_ccpp_prebuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
steps:
1212

1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Initialize submodules
1717
run: git submodule update --init --recursive
18-
18+
1919
- name: Set up Python 3.8.5
20-
uses: actions/setup-python@v3
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.8.5
2323

0 commit comments

Comments
 (0)