Skip to content

Commit 2bdcca4

Browse files
committed
bump action versions
1 parent 7819b9e commit 2bdcca4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Diff for: .github/workflows/build_tests.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
python-version: ['3.9', '3.10', '3.11', '3.12']
2121
os: [windows-latest, macOS-latest, ubuntu-latest]
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Set up Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
python setup.py bdist_wheel
3737
ls dist/*
3838
- name: Save wheel
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: pecos_${{ matrix.python-version }}_${{ matrix.os }}.whl
4242
path: dist/pecos*
@@ -47,14 +47,14 @@ jobs:
4747
strategy:
4848
matrix:
4949
python-version: ['3.9', '3.10', '3.11', '3.12']
50-
os: [windows-latest, macOS-latest, ubuntu-latest]
50+
os: [windows-latest, macOS-latest, ubuntu-latest]
5151
steps:
5252
- name: Set up Python
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v5
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
- name: Download wheel
57-
uses: actions/download-artifact@v3
57+
uses: actions/download-artifact@v4
5858
with:
5959
name: pecos_${{ matrix.python-version }}_${{ matrix.os }}.whl
6060
- name: Install pecos
@@ -73,9 +73,9 @@ jobs:
7373
python-version: ['3.9', '3.10', '3.11', '3.12']
7474
os: [windows-latest, macOS-latest, ubuntu-latest]
7575
steps:
76-
- uses: actions/checkout@v2
76+
- uses: actions/checkout@v4
7777
- name: Set up Python ${{ matrix.python-version }}
78-
uses: actions/setup-python@v4
78+
uses: actions/setup-python@v5
7979
with:
8080
python-version: ${{ matrix.python-version }}
8181
- name: Install dependencies
@@ -92,7 +92,7 @@ jobs:
9292
env:
9393
COVERAGE_FILE: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
9494
- name: Save coverage
95-
uses: actions/upload-artifact@v2
95+
uses: actions/upload-artifact@v4
9696
with:
9797
name: coverage
9898
path: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
@@ -102,17 +102,17 @@ jobs:
102102
runs-on: ubuntu-latest
103103
steps:
104104
- name: Set up Python
105-
uses: actions/setup-python@v4
105+
uses: actions/setup-python@v5
106106
with:
107107
python-version: 3.11
108-
- uses: actions/checkout@v2
108+
- uses: actions/checkout@v4
109109
- name: Install coverage
110110
run: |
111111
python -m pip install --upgrade pip
112112
pip install -r requirements.txt
113113
python -m pip install -e .
114114
- name: Download coverage artifacts from test matrix
115-
uses: actions/download-artifact@v2
115+
uses: actions/download-artifact@v4
116116
with:
117117
name: coverage
118118
- name: Setup coverage and combine reports
@@ -131,12 +131,12 @@ jobs:
131131
coverage json --pretty-print
132132
coverage html --show-contexts
133133
- name: Save coverage JSON
134-
uses: actions/upload-artifact@v2
134+
uses: actions/upload-artifact@v4
135135
with:
136136
name: coverage
137137
path: coverage.json
138138
- name: Save coverage html
139-
uses: actions/upload-artifact@v2
139+
uses: actions/upload-artifact@v4
140140
with:
141141
name: coverage
142142
path: htmlcov
@@ -147,10 +147,10 @@ jobs:
147147
continue-on-error: true
148148
steps:
149149
- name: Set up Python
150-
uses: actions/setup-python@v4
150+
uses: actions/setup-python@v5
151151
with:
152152
python-version: 3.11
153-
- uses: actions/checkout@v2
153+
- uses: actions/checkout@v4
154154
- name: Install coverage
155155
run: |
156156
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)