Skip to content

Commit f4a0863

Browse files
committed
Update github actions versions, install dependencies for hindcast prep
1 parent 4b43b2f commit f4a0863

5 files changed

Lines changed: 42 additions & 42 deletions

File tree

.github/workflows/black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: "3.11"
1717

.github/workflows/main.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
should-run-hindcast: ${{ steps.hindcast-logic.outputs.should-run-hindcast }}
3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
- name: Check for changes in wave/io/hindcast
3737
id: changes
@@ -56,12 +56,12 @@ jobs:
5656
PYTHON_VER: 3.11
5757
steps:
5858
- name: Checkout code
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v6
6060

6161
- name: Setup Miniconda
6262
uses: conda-incubator/setup-miniconda@v3
6363
with:
64-
miniconda-version: 'latest'
64+
miniconda-version: "latest"
6565
auto-update-conda: true
6666
python-version: ${{ env.PYTHON_VER }}
6767
activate-environment: TESTconda
@@ -83,7 +83,7 @@ jobs:
8383
shell: bash -l {0}
8484
run: |
8585
conda activate mhkit-env
86-
pip install -e ".[all,dev]" --no-deps
86+
pip install -e ".[all,dev]"
8787
8888
- name: Prepare non-hindcast API data
8989
shell: bash -l {0}
@@ -107,12 +107,12 @@ jobs:
107107
if: (needs.check-changes.outputs.should-run-hindcast == 'true')
108108
steps:
109109
- name: Checkout code
110-
uses: actions/checkout@v4
110+
uses: actions/checkout@v6
111111

112112
- name: Setup Miniconda
113113
uses: conda-incubator/setup-miniconda@v3
114114
with:
115-
miniconda-version: 'latest'
115+
miniconda-version: "latest"
116116
auto-update-conda: true
117117
activate-environment: TEST
118118
python-version: ${{ env.PYTHON_VER }}
@@ -134,7 +134,7 @@ jobs:
134134
shell: bash -l {0}
135135
run: |
136136
conda activate mhkit-env
137-
pip install -e ".[all,dev]" --no-deps
137+
pip install -e ".[all,dev]"
138138
139139
- name: Prepare Wave Hindcast data
140140
shell: bash -l {0}
@@ -156,12 +156,12 @@ jobs:
156156
if: (needs.check-changes.outputs.should-run-hindcast == 'true')
157157
steps:
158158
- name: Checkout code
159-
uses: actions/checkout@v4
159+
uses: actions/checkout@v6
160160

161161
- name: Setup Miniconda
162162
uses: conda-incubator/setup-miniconda@v3
163163
with:
164-
miniconda-version: 'latest'
164+
miniconda-version: "latest"
165165
auto-update-conda: true
166166
activate-environment: TEST
167167
python-version: ${{ env.PYTHON_VER }}
@@ -183,7 +183,7 @@ jobs:
183183
shell: bash -l {0}
184184
run: |
185185
conda activate mhkit-env
186-
pip install -e ".[all,dev]" --no-deps
186+
pip install -e ".[all,dev]"
187187
188188
- name: Prepare Wind Hindcast data
189189
shell: bash -l {0}
@@ -205,17 +205,17 @@ jobs:
205205
fail-fast: false
206206
matrix:
207207
os: ${{fromJson(needs.set-os.outputs.matrix_os)}}
208-
python-version: ['3.10', '3.11', '3.12']
208+
python-version: ["3.10", "3.11", "3.12"]
209209
env:
210210
PYTHON_VER: ${{ matrix.python-version }}
211211

212212
steps:
213-
- uses: actions/checkout@v4
213+
- uses: actions/checkout@v6
214214

215215
- name: Setup Miniconda
216216
uses: conda-incubator/setup-miniconda@v3
217217
with:
218-
miniconda-version: 'latest'
218+
miniconda-version: "latest"
219219
auto-update-conda: true
220220
environment-file: environment.yml
221221
activate-environment: TEST
@@ -263,18 +263,18 @@ jobs:
263263
fail-fast: false
264264
matrix:
265265
os: ${{fromJson(needs.set-os.outputs.matrix_os)}}
266-
python-version: ['3.10', '3.11', '3.12']
266+
python-version: ["3.10", "3.11", "3.12"]
267267

268268
steps:
269269
- uses: conda-incubator/setup-miniconda@v3
270270

271271
- name: Set up Python ${{ matrix.python-version }}
272-
uses: actions/setup-python@v5
272+
uses: actions/setup-python@v6
273273
with:
274274
python-version: ${{ matrix.python-version }}
275275

276276
- name: Set up Git repository
277-
uses: actions/checkout@v4
277+
uses: actions/checkout@v6
278278

279279
- name: Download data from artifact
280280
uses: actions/download-artifact@v4
@@ -331,15 +331,15 @@ jobs:
331331
fail-fast: false
332332
matrix:
333333
os: ${{fromJson(needs.set-os.outputs.matrix_os)}}
334-
python-version: ['3.10', '3.11', '3.12']
334+
python-version: ["3.10", "3.11", "3.12"]
335335

336336
steps:
337-
- uses: actions/checkout@v4
337+
- uses: actions/checkout@v6
338338

339339
- name: Setup Miniconda
340340
uses: conda-incubator/setup-miniconda@v3
341341
with:
342-
miniconda-version: 'latest'
342+
miniconda-version: "latest"
343343
auto-update-conda: true
344344
environment-file: environment.yml
345345
activate-environment: TEST
@@ -402,11 +402,11 @@ jobs:
402402
name: Test Built Wheel
403403
runs-on: ubuntu-latest
404404
steps:
405-
- uses: actions/checkout@v4
405+
- uses: actions/checkout@v6
406406

407-
- uses: actions/setup-python@v5
407+
- uses: actions/setup-python@v6
408408
with:
409-
python-version: '3.11'
409+
python-version: "3.11"
410410

411411
- name: Install build dependencies
412412
run: python -m pip install build --user
@@ -462,13 +462,13 @@ jobs:
462462
matrix:
463463
module:
464464
[wave, tidal, river, dolfyn, power, loads, mooring, acoustics, utils]
465-
python-version: ['3.12']
465+
python-version: ["3.12"]
466466

467467
steps:
468-
- uses: actions/checkout@v4
468+
- uses: actions/checkout@v6
469469

470470
- name: Set up Python ${{ matrix.python-version }}
471-
uses: actions/setup-python@v5
471+
uses: actions/setup-python@v6
472472
with:
473473
python-version: ${{ matrix.python-version }}
474474

@@ -527,12 +527,12 @@ jobs:
527527
matrix: ${{ steps.set-matrix.outputs.matrix }}
528528
steps:
529529
- name: Checkout repository
530-
uses: actions/checkout@v4
530+
uses: actions/checkout@v6
531531

532532
- name: Set up Python
533-
uses: actions/setup-python@v2
533+
uses: actions/setup-python@v6
534534
with:
535-
python-version: '3.11'
535+
python-version: "3.11"
536536

537537
- name: Generate matrix
538538
id: set-matrix
@@ -556,14 +556,14 @@ jobs:
556556
runs-on: ubuntu-latest
557557
steps:
558558
- name: Checkout repository
559-
uses: actions/checkout@v4
559+
uses: actions/checkout@v6
560560

561561
- name: Set up Miniconda
562562
uses: conda-incubator/setup-miniconda@v3
563563
with:
564-
miniconda-version: 'latest'
564+
miniconda-version: "latest"
565565
auto-update-conda: true
566-
python-version: '3.12'
566+
python-version: "3.12"
567567
channels: conda-forge
568568
activate-environment: TESTconda
569569
use-only-tar-bz2: false

.github/workflows/pylint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88

99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v6
1515
with:
16-
python-version: '3.11'
16+
python-version: "3.11"
1717

1818
- name: Install dependencies
1919
run: |

.github/workflows/pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525

26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@v6
2727
with:
28-
python-version: '3.10'
28+
python-version: "3.10"
2929

3030
- run: python -m pip install build --user
3131
- run: python -m build --sdist --wheel --outdir dist/ .

.github/workflows/test-wheel-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.11', '3.12']
19+
python-version: ["3.11", "3.12"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
2525

26-
- uses: actions/setup-python@v2
26+
- uses: actions/setup-python@v6
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

0 commit comments

Comments
 (0)