Skip to content

Commit f4fa92e

Browse files
authored
Update GH action versions (#2223)
* Update to actions/setup-python@v5 * Update to actions/checkout@v4 * Bring up to #2218 * Address reviewer comments
1 parent c6ba6ed commit f4fa92e

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/asv_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
shell: bash -el {0}
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222

2323
- name: Install Python
24-
uses: actions/setup-python@v3
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: '3.9'
2727

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout source
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
- name: Install Python 3.11
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v5
1212
with:
1313
python-version: '3.11'
1414
- name: Install Flake8 5.0.4 linter

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
# fetch all commits and tags so versioneer works
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: 3.9
2626

.github/workflows/pytest-remote-data.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ jobs:
6666
if: (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'remote-data')) || (github.event_name == 'push')
6767

6868
steps:
69-
- uses: actions/checkout@v3
69+
- uses: actions/checkout@v4
7070
if: github.event_name == 'pull_request_target'
7171
# pull_request_target runs in the context of the target branch (pvlib/main),
7272
# but what we need is the hypothetical merge commit from the PR:
7373
with:
7474
ref: "refs/pull/${{ github.event.number }}/merge"
7575

76-
- uses: actions/checkout@v2
76+
- uses: actions/checkout@v4
7777
if: github.event_name == 'push'
7878

7979
- name: Set up conda environment
80-
uses: conda-incubator/setup-miniconda@v2
80+
uses: conda-incubator/setup-miniconda@v3
8181
with:
8282
activate-environment: test_env
8383
environment-file: ${{ env.REQUIREMENTS }}

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
# We check out only a limited depth and then pull tags to save time
3333
- name: Checkout source
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 100
3737

@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Install bare Python ${{ matrix.python-version }}${{ matrix.suffix }}
6262
if: matrix.environment-type == 'bare'
63-
uses: actions/setup-python@v4
63+
uses: actions/setup-python@v5
6464
with:
6565
python-version: ${{ matrix.python-version }}
6666

0 commit comments

Comments
 (0)