Skip to content

Commit 334d6ca

Browse files
authored
Update versions of used GitHub actions to the latest (#1666)
1 parent 66f995b commit 334d6ca

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Cancel Previous Runs
34-
uses: styfle/cancel-workflow-action@0.11.0
34+
uses: styfle/cancel-workflow-action@0.12.0
3535
with:
3636
access_token: ${{ github.token }}
3737

@@ -42,7 +42,7 @@ jobs:
4242
echo "$GITHUB_CONTEXT"
4343
4444
- name: Free Disk Space (Ubuntu)
45-
uses: jlumbroso/free-disk-space@main
45+
uses: jlumbroso/free-disk-space@v1.3.1
4646
with:
4747
docker-images: false
4848

@@ -76,13 +76,13 @@ jobs:
7676
sudo apt-get install -y nvidia-cuda-toolkit clinfo
7777
7878
- name: Checkout repo
79-
uses: actions/checkout@v3.5.2
79+
uses: actions/checkout@v4.1.1
8080
with:
8181
fetch-depth: 0
8282

8383
# https://github.com/marketplace/actions/setup-miniconda
8484
- name: Setup miniconda
85-
uses: conda-incubator/setup-miniconda@v2.2.0
85+
uses: conda-incubator/setup-miniconda@v3.0.1
8686
with:
8787
auto-update-conda: true
8888
python-version: ${{ env.python-ver }}
@@ -184,7 +184,7 @@ jobs:
184184
runs-on: ubuntu-20.04
185185

186186
steps:
187-
- uses: actions/checkout@v3.5.2
187+
- uses: actions/checkout@v4.1.1
188188
with:
189189
fetch-depth: 0
190190

.github/workflows/conda-package.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ jobs:
6868

6969
steps:
7070
- name: Cancel Previous Runs
71-
uses: styfle/cancel-workflow-action@0.11.0
71+
uses: styfle/cancel-workflow-action@0.12.0
7272
with:
7373
access_token: ${{ github.token }}
7474

7575
- name: Checkout DPNP repo
76-
uses: actions/checkout@v3.5.2
76+
uses: actions/checkout@v4.1.1
7777
with:
7878
fetch-depth: 0
7979

8080
- name: Setup miniconda
81-
uses: conda-incubator/setup-miniconda@v2.2.0
81+
uses: conda-incubator/setup-miniconda@v3.0.1
8282
with:
8383
auto-update-conda: true
8484
python-version: ${{ matrix.python }}
@@ -99,7 +99,7 @@ jobs:
9999
run: conda install conda-build
100100

101101
- name: Cache conda packages
102-
uses: actions/cache@v3.3.0
102+
uses: actions/cache@v4
103103
env:
104104
CACHE_NUMBER: 1 # Increase to reset cache
105105
with:
@@ -114,7 +114,7 @@ jobs:
114114
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
115115

116116
- name: Upload artifact
117-
uses: actions/upload-artifact@v3.1.2
117+
uses: actions/upload-artifact@v4.3.0
118118
with:
119119
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
120120
path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -147,7 +147,7 @@ jobs:
147147

148148
steps:
149149
- name: Download artifact
150-
uses: actions/download-artifact@v3.0.2
150+
uses: actions/download-artifact@v4.1.1
151151
with:
152152
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
153153
path: ${{ env.pkg-path-in-channel }}
@@ -158,7 +158,7 @@ jobs:
158158
tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}
159159
160160
- name: Setup miniconda
161-
uses: conda-incubator/setup-miniconda@v2.2.0
161+
uses: conda-incubator/setup-miniconda@v3.0.1
162162
with:
163163
auto-update-conda: true
164164
python-version: ${{ matrix.python }}
@@ -190,7 +190,7 @@ jobs:
190190
TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'
191191

192192
- name: Cache conda packages
193-
uses: actions/cache@v3.3.0
193+
uses: actions/cache@v4
194194
env:
195195
CACHE_NUMBER: 1 # Increase to reset cache
196196
with:
@@ -248,7 +248,7 @@ jobs:
248248

249249
steps:
250250
- name: Download artifact
251-
uses: actions/download-artifact@v3.0.2
251+
uses: actions/download-artifact@v4.1.1
252252
with:
253253
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
254254
path: ${{ env.pkg-path-in-channel }}
@@ -268,7 +268,7 @@ jobs:
268268
dir ${{ env.extracted-pkg-path }}
269269
270270
- name: Setup miniconda
271-
uses: conda-incubator/setup-miniconda@v2.2.0
271+
uses: conda-incubator/setup-miniconda@v3.0.1
272272
with:
273273
auto-update-conda: true
274274
python-version: ${{ matrix.python }}
@@ -314,7 +314,7 @@ jobs:
314314
run: more lockfile
315315

316316
- name: Cache conda packages
317-
uses: actions/cache@v3.3.0
317+
uses: actions/cache@v4
318318
env:
319319
CACHE_NUMBER: 1 # Increase to reset cache
320320
with:
@@ -382,12 +382,12 @@ jobs:
382382
383383
steps:
384384
- name: Download artifact
385-
uses: actions/download-artifact@v3.0.2
385+
uses: actions/download-artifact@v4.1.1
386386
with:
387387
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
388388

389389
- name: Setup miniconda
390-
uses: conda-incubator/setup-miniconda@v2.2.0
390+
uses: conda-incubator/setup-miniconda@v3.0.1
391391
with:
392392
auto-update-conda: true
393393
python-version: ${{ matrix.python }}
@@ -410,7 +410,7 @@ jobs:
410410
run:
411411
shell: bash -el {0}
412412
steps:
413-
- uses: conda-incubator/setup-miniconda@v2
413+
- uses: conda-incubator/setup-miniconda@v3.0.1
414414
with:
415415
run-post: false
416416
channel-priority: "disabled"
@@ -421,7 +421,7 @@ jobs:
421421
run: conda install anaconda-client
422422

423423
- name: Checkout repo
424-
uses: actions/checkout@v3.5.2
424+
uses: actions/checkout@v4.1.1
425425
with:
426426
repository: IntelPython/devops-tools
427427
fetch-depth: 0

.github/workflows/generate_coverage.yaml

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

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

2626
- name: Checkout repo
27-
uses: actions/checkout@v3.5.2
27+
uses: actions/checkout@v4.1.1
2828
with:
2929
fetch-depth: 0
3030

3131
- name: Setup miniconda
32-
uses: conda-incubator/setup-miniconda@v2.2.0
32+
uses: conda-incubator/setup-miniconda@v3.0.1
3333
with:
3434
auto-update-conda: true
3535
python-version: ${{ env.python-ver }}

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format
1717
clang-format --version
1818
19-
- uses: actions/checkout@v3.5.2
20-
- uses: actions/setup-python@v4.6.1
19+
- uses: actions/checkout@v4.1.1
20+
- uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.11'
2323
- uses: pre-commit/action@v3.0.0

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/PyCQA/bandit
5-
rev: '1.7.5'
5+
rev: '1.7.7'
66
hooks:
77
- id: bandit
88
pass_filenames: false
99
args: ["-r", "dpnp", "-lll"]
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.4.0
11+
rev: v4.5.0
1212
hooks:
1313
- id: check-ast
1414
- id: check-builtin-literals
@@ -43,12 +43,12 @@ repos:
4343
- id: rst-inline-touching-normal
4444
- id: text-unicode-replacement-char
4545
- repo: https://github.com/psf/black
46-
rev: 23.7.0
46+
rev: 23.12.1
4747
hooks:
4848
- id: black
4949
args: ["--check", "--diff", "--color"]
5050
- repo: https://github.com/pycqa/isort
51-
rev: 5.12.0
51+
rev: 5.13.2
5252
hooks:
5353
- id: isort
5454
name: isort (python)
@@ -59,13 +59,13 @@ repos:
5959
name: isort (pyi)
6060
types: [pyi]
6161
- repo: https://github.com/pycqa/flake8
62-
rev: 6.1.0
62+
rev: 7.0.0
6363
hooks:
6464
- id: flake8
6565
args: ["--config=.flake8"]
6666
additional_dependencies:
6767
- flake8-docstrings==1.7.0
68-
- flake8-bugbear==23.6.5
68+
- flake8-bugbear==24.1.17
6969
- repo: https://github.com/pocc/pre-commit-hooks
7070
rev: v1.3.5
7171
hooks:

0 commit comments

Comments
 (0)