Skip to content

Commit 5092878

Browse files
Updated actions per prompt from Github
1 parent 1cdc2a6 commit 5092878

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

.github/workflows/conda-package.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
python: ['3.8', '3.9', '3.10']
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
2626

@@ -53,7 +53,7 @@ jobs:
5353
$CHANNELS \
5454
conda-recipe
5555
- name: Upload artifact
56-
uses: actions/upload-artifact@v2
56+
uses: actions/upload-artifact@v3
5757
with:
5858
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
5959
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -67,7 +67,7 @@ jobs:
6767
env:
6868
conda-bld: C:\Miniconda\conda-bld\win-64\
6969
steps:
70-
- uses: actions/checkout@v2
70+
- uses: actions/checkout@v3
7171
with:
7272
fetch-depth: 0
7373
- uses: conda-incubator/setup-miniconda@v2
@@ -91,7 +91,7 @@ jobs:
9191
- name: Build conda package
9292
run: conda build --no-test --python ${{ matrix.python }} -c intel -c main --override-channels conda-recipe
9393
- name: Upload artifact
94-
uses: actions/upload-artifact@v2
94+
uses: actions/upload-artifact@v3
9595
with:
9696
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
9797
path: ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -111,7 +111,7 @@ jobs:
111111

112112
steps:
113113
- name: Download artifact
114-
uses: actions/download-artifact@v2
114+
uses: actions/download-artifact@v3
115115
with:
116116
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
117117
- name: Add conda to system path
@@ -188,7 +188,7 @@ jobs:
188188

189189
steps:
190190
- name: Download artifact
191-
uses: actions/download-artifact@v2
191+
uses: actions/download-artifact@v3
192192
with:
193193
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
194194
- uses: conda-incubator/setup-miniconda@v2
@@ -317,7 +317,7 @@ jobs:
317317
python: ['3.8', '3.9', '3.10']
318318
steps:
319319
- name: Download artifact
320-
uses: actions/download-artifact@v2
320+
uses: actions/download-artifact@v3
321321
with:
322322
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
323323

@@ -342,7 +342,7 @@ jobs:
342342
python: ['3.8', '3.9']
343343
steps:
344344
- name: Download artifact
345-
uses: actions/download-artifact@v2
345+
uses: actions/download-artifact@v3
346346
with:
347347
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
348348
- uses: conda-incubator/setup-miniconda@v2
@@ -376,11 +376,11 @@ jobs:
376376
# Needed to be able to run conda index
377377
run: conda install conda-build python=${{ matrix.python }}
378378
- name: Checkout dpctl repo
379-
uses: actions/checkout@v2
379+
uses: actions/checkout@v3
380380
with:
381381
fetch-depth: 0
382382
- name: Download artifact
383-
uses: actions/download-artifact@v2
383+
uses: actions/download-artifact@v3
384384
with:
385385
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
386386
- name: Add conda to system path
@@ -534,7 +534,7 @@ jobs:
534534
git clone --recurse-submodules https://github.com/data-apis/array-api-tests array-api-tests
535535
cd array-api-tests
536536
- name: Download artifact
537-
uses: actions/download-artifact@v2
537+
uses: actions/download-artifact@v3
538538
with:
539539
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
540540
- name: Add conda to system path

.github/workflows/cpp_style_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: clang-format
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Run clang-format style check for C/C++ programs.
1919
uses: jidicula/clang-format-action@v3.5.1
2020
with:

.github/workflows/generate-coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
sudo apt-get install cmake ninja-build
3838
3939
- name: Setup Python
40-
uses: actions/setup-python@v2
40+
uses: actions/setup-python@v4
4141
with:
4242
python-version: '3.10'
4343
architecture: x64
@@ -68,7 +68,7 @@ jobs:
6868
make && make install
6969
7070
- name: Checkout repo
71-
uses: actions/checkout@v2
71+
uses: actions/checkout@v3
7272
with:
7373
fetch-depth: 0
7474

.github/workflows/generate-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- name: Cancel Previous Runs
15-
uses: styfle/cancel-workflow-action@0.6.0
15+
uses: styfle/cancel-workflow-action@0.10.1
1616
with:
1717
access_token: ${{ github.token }}
1818
- name: Add Intel repository
@@ -41,7 +41,7 @@ jobs:
4141
sudo apt-get install cmake ninja-build
4242
- name: Setup Python
4343
if: ${{ !github.event.pull_request || github.event.action != 'closed' }}
44-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v4
4545
with:
4646
python-version: '3.10'
4747
architecture: x64
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
pip install numpy cython setuptools scikit-build sphinx sphinx_rtd_theme pydot graphviz sphinxcontrib-programoutput
5353
- name: Checkout repo
54-
uses: actions/checkout@v2
54+
uses: actions/checkout@v3
5555
with:
5656
fetch-depth: 0
5757
persist-credentials: false

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Cancel Previous Runs
22-
uses: styfle/cancel-workflow-action@0.6.0
22+
uses: styfle/cancel-workflow-action@0.10.1
2323
with:
2424
access_token: ${{ github.token }}
2525

@@ -91,7 +91,7 @@ jobs:
9191
sudo apt-get install cmake ninja-build libtinfo5
9292
9393
- name: Setup Python
94-
uses: actions/setup-python@v2
94+
uses: actions/setup-python@v4
9595
with:
9696
python-version: '3.9'
9797
architecture: x64
@@ -102,7 +102,7 @@ jobs:
102102
pip install numpy cython setuptools pytest scikit-build
103103
104104
- name: Checkout repo
105-
uses: actions/checkout@v2
105+
uses: actions/checkout@v3
106106
with:
107107
fetch-depth: 0
108108

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-python@v2
14-
- uses: pre-commit/action@v2.0.3
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v4
14+
- uses: pre-commit/action@v3

.github/workflows/python_style_checks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
isort:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-python@v2
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
2020
- uses: jamescurtin/isort-action@master
2121
with:
2222
configuration: "--check-only"
@@ -32,9 +32,9 @@ jobs:
3232
# Steps represent a sequence of tasks that will be executed as part of the job
3333
steps:
3434
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636
# Set up a Python environment for use in actions
37-
- uses: actions/setup-python@v2
37+
- uses: actions/setup-python@v4
3838

3939
# Run black code formatter
4040
- uses: psf/black@stable
@@ -50,9 +50,9 @@ jobs:
5050
python-version: [3.9]
5151

5252
steps:
53-
- uses: actions/checkout@v2
53+
- uses: actions/checkout@v3
5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v4
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
- name: Install dependencies

0 commit comments

Comments
 (0)