Skip to content

Commit b42b1b4

Browse files
jonashaagyehoshuadimarsky
authored andcommitted
Upgrade GitHub Actions versions (pandas-dev#46540)
1 parent a27419e commit b42b1b4

8 files changed

+33
-33
lines changed

.github/workflows/asv-bot.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333
with:
3434
fetch-depth: 0
3535

3636
- name: Cache conda
37-
uses: actions/cache@v2
37+
uses: actions/cache@v3
3838
with:
3939
path: ~/conda_pkgs_dir
4040
key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
4141

4242
# Although asv sets up its own env, deps are still needed
4343
# during discovery process
44-
- uses: conda-incubator/setup-miniconda@v2
44+
- uses: conda-incubator/setup-miniconda@v2.1.1
4545
with:
4646
activate-environment: pandas-dev
4747
channel-priority: strict
@@ -65,7 +65,7 @@ jobs:
6565
echo 'EOF' >> $GITHUB_ENV
6666
echo "REGEX=$REGEX" >> $GITHUB_ENV
6767
68-
- uses: actions/github-script@v5
68+
- uses: actions/github-script@v6
6969
env:
7070
BENCH_OUTPUT: ${{env.BENCH_OUTPUT}}
7171
REGEX: ${{env.REGEX}}

.github/workflows/autoupdate-pre-commit-config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Set up Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v3
1616
- name: Cache multiple paths
17-
uses: actions/cache@v2
17+
uses: actions/cache@v3
1818
with:
1919
path: |
2020
~/.cache/pre-commit

.github/workflows/code-checks.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
cancel-in-progress: true
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828

2929
- name: Install Python
30-
uses: actions/setup-python@v2
30+
uses: actions/setup-python@v3
3131
with:
3232
python-version: '3.9.7'
3333

@@ -48,17 +48,17 @@ jobs:
4848

4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v2
51+
uses: actions/checkout@v3
5252
with:
5353
fetch-depth: 0
5454

5555
- name: Cache conda
56-
uses: actions/cache@v2
56+
uses: actions/cache@v3
5757
with:
5858
path: ~/conda_pkgs_dir
5959
key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
6060

61-
- uses: conda-incubator/setup-miniconda@v2
61+
- uses: conda-incubator/setup-miniconda@v2.1.1
6262
with:
6363
mamba-version: "*"
6464
channels: conda-forge
@@ -68,7 +68,7 @@ jobs:
6868
use-only-tar-bz2: true
6969

7070
- name: Install node.js (for pyright)
71-
uses: actions/setup-node@v2
71+
uses: actions/setup-node@v3
7272
with:
7373
node-version: "16"
7474

@@ -114,17 +114,17 @@ jobs:
114114

115115
steps:
116116
- name: Checkout
117-
uses: actions/checkout@v2
117+
uses: actions/checkout@v3
118118
with:
119119
fetch-depth: 0
120120

121121
- name: Cache conda
122-
uses: actions/cache@v2
122+
uses: actions/cache@v3
123123
with:
124124
path: ~/conda_pkgs_dir
125125
key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
126126

127-
- uses: conda-incubator/setup-miniconda@v2
127+
- uses: conda-incubator/setup-miniconda@v2.1.1
128128
with:
129129
mamba-version: "*"
130130
channels: conda-forge
@@ -151,7 +151,7 @@ jobs:
151151
if: ${{ steps.build.outcome == 'success' }}
152152

153153
- name: Publish benchmarks artifact
154-
uses: actions/upload-artifact@v2
154+
uses: actions/upload-artifact@v3
155155
with:
156156
name: Benchmarks log
157157
path: asv_bench/benchmarks.log
@@ -174,7 +174,7 @@ jobs:
174174
run: docker image prune -f
175175

176176
- name: Checkout
177-
uses: actions/checkout@v2
177+
uses: actions/checkout@v3
178178
with:
179179
fetch-depth: 0
180180

.github/workflows/comment_bot.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
if: startsWith(github.event.comment.body, '@github-actions pre-commit')
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
- uses: r-lib/actions/pr-fetch@v2
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
- name: Cache multiple paths
20-
uses: actions/cache@v2
20+
uses: actions/cache@v3
2121
with:
2222
path: |
2323
~/.cache/pre-commit
2424
~/.cache/pip
2525
key: pre-commit-dispatched-${{ runner.os }}-build
26-
- uses: actions/setup-python@v2
26+
- uses: actions/setup-python@v3
2727
with:
2828
python-version: 3.8
2929
- name: Install-pre-commit

.github/workflows/docbuild-and-upload.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030
with:
3131
fetch-depth: 0
3232

@@ -65,7 +65,7 @@ jobs:
6565
run: mv doc/build/html web/build/docs
6666

6767
- name: Save website as an artifact
68-
uses: actions/upload-artifact@v2
68+
uses: actions/upload-artifact@v3
6969
with:
7070
name: website
7171
path: web/build

.github/workflows/posix.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ jobs:
121121

122122
steps:
123123
- name: Checkout
124-
uses: actions/checkout@v2
124+
uses: actions/checkout@v3
125125
with:
126126
fetch-depth: 0
127127

128128
- name: Cache conda
129-
uses: actions/cache@v2
129+
uses: actions/cache@v3
130130
env:
131131
CACHE_NUMBER: 0
132132
with:
@@ -138,7 +138,7 @@ jobs:
138138
# xsel for clipboard tests
139139
run: sudo apt-get update && sudo apt-get install -y libc6-dev-i386 xsel ${{ env.EXTRA_APT }}
140140

141-
- uses: conda-incubator/setup-miniconda@v2
141+
- uses: conda-incubator/setup-miniconda@v2.1.1
142142
with:
143143
mamba-version: "*"
144144
channels: conda-forge
@@ -153,7 +153,7 @@ jobs:
153153
if: ${{ matrix.pyarrow_version }}
154154

155155
- name: Setup PyPy
156-
uses: actions/setup-python@v2
156+
uses: actions/setup-python@v3
157157
with:
158158
python-version: "pypy-3.8"
159159
if: ${{ env.IS_PYPY == 'true' }}
@@ -177,7 +177,7 @@ jobs:
177177
run: pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
178178

179179
- name: Publish test results
180-
uses: actions/upload-artifact@v2
180+
uses: actions/upload-artifact@v3
181181
with:
182182
name: Test results
183183
path: test-data.xml

.github/workflows/python-dev.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ jobs:
4545
cancel-in-progress: true
4646

4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v3
4949
with:
5050
fetch-depth: 0
5151

5252
- name: Set up Python Dev Version
53-
uses: actions/setup-python@v2
53+
uses: actions/setup-python@v3
5454
with:
5555
python-version: '3.11-dev'
5656

@@ -79,7 +79,7 @@ jobs:
7979
ci/run_tests.sh
8080
8181
- name: Publish test results
82-
uses: actions/upload-artifact@v2
82+
uses: actions/upload-artifact@v3
8383
with:
8484
name: Test results
8585
path: test-data.xml

.github/workflows/sdist.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
cancel-in-progress: true
3333

3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636
with:
3737
fetch-depth: 0
3838

3939
- name: Set up Python
40-
uses: actions/setup-python@v2
40+
uses: actions/setup-python@v3
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343

@@ -60,7 +60,7 @@ jobs:
6060
name: ${{matrix.python-version}}-sdist.gz
6161
path: dist/*.gz
6262

63-
- uses: conda-incubator/setup-miniconda@v2
63+
- uses: conda-incubator/setup-miniconda@v2.1.1
6464
with:
6565
activate-environment: pandas-sdist
6666
channels: conda-forge

0 commit comments

Comments
 (0)