Skip to content

Commit a846977

Browse files
authored
Merge pull request #5777 from gruenich/feature/update-github-actions
[ci] Update GitHub Actions to latest major release
2 parents 662d80b + 91f83f0 commit a846977

13 files changed

Lines changed: 36 additions & 35 deletions

.github/workflows/apple_m.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v6
2828

2929
- name: Print system information
3030
run: |
@@ -52,7 +52,7 @@ jobs:
5252
fi
5353
5454
- name: Compilation cache
55-
uses: actions/cache@v3
55+
uses: actions/cache@v5
5656
with:
5757
path: ~/.ccache
5858
# We include the commit sha in the cache key, as new cache entries are

.github/workflows/arm64_graviton.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v6
3434

3535
- name: Print system information
3636
run: |
@@ -52,7 +52,7 @@ jobs:
5252
fi
5353
5454
- name: Compilation cache
55-
uses: actions/cache@v3
55+
uses: actions/cache@v5
5656
with:
5757
path: ~/.ccache
5858
# We include the commit sha in the cache key, as new cache entries are

.github/workflows/c910v.yml

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

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
- name: install build deps
3737
run: |
@@ -40,7 +40,7 @@ jobs:
4040
gcc-${{ matrix.apt_triple }} gfortran-${{ matrix.apt_triple }} libgomp1-riscv64-cross libglib2.0-dev
4141
4242
- name: checkout qemu
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444
with:
4545
repository: XUANTIE-RV/qemu
4646
path: qemu
@@ -58,7 +58,7 @@ jobs:
5858
make install
5959
6060
- name: Compilation cache
61-
uses: actions/cache@v3
61+
uses: actions/cache@v5
6262
with:
6363
path: ~/.ccache
6464
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}

.github/workflows/codspeed-bench.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
pyver: ["3.12"]
2222
runs-on: ${{ matrix.os }}
2323
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/setup-python@v3
24+
- uses: actions/checkout@v6
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: ${{ matrix.pyver }}
2828

@@ -43,7 +43,7 @@ jobs:
4343
fi
4444
4545
- name: Compilation cache
46-
uses: actions/cache@v3
46+
uses: actions/cache@v5
4747
with:
4848
path: ~/.ccache
4949
# We include the commit sha in the cache key, as new cache entries are
@@ -147,8 +147,9 @@ jobs:
147147
OPENBLAS_NUM_THREADS=1 pytest benchmarks/bench_blas.py -k 'gesdd'
148148
149149
- name: Run benchmarks
150-
uses: CodSpeedHQ/action@v3
150+
uses: CodSpeedHQ/action@v4
151151
with:
152+
mode: simulation
152153
token: ${{ secrets.CODSPEED_TOKEN }}
153154
run: |
154155
cd benchmark/pybench

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
if: "github.repository == 'OpenMathLib/OpenBLAS'"
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020

21-
- uses: actions/setup-python@v5
21+
- uses: actions/setup-python@v6
2222
with:
2323
python-version: "3.10"
2424

.github/workflows/dynamic_arch.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v6
3737

3838
- name: Print system information
3939
run: |
@@ -76,7 +76,7 @@ jobs:
7676
fi
7777
7878
- name: Compilation cache
79-
uses: actions/cache@v3
79+
uses: actions/cache@v5
8080
with:
8181
path: ~/.ccache
8282
# We include the commit sha in the cache key, as new cache entries are
@@ -253,7 +253,7 @@ jobs:
253253
${{ matrix.target-prefix }}-ccache
254254
255255
- name: Checkout repository
256-
uses: actions/checkout@v3
256+
uses: actions/checkout@v6
257257

258258
- name: Prepare ccache
259259
# Get cache location of ccache
@@ -266,7 +266,7 @@ jobs:
266266
echo "key=ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ matrix.build-type }}-${{ github.ref }}-${{ github.sha }}" >> $GITHUB_OUTPUT
267267
268268
- name: Restore ccache
269-
uses: actions/cache/restore@v3
269+
uses: actions/cache/restore@v5
270270
with:
271271
path: ${{ steps.ccache-prepare.outputs.ccachedir }}
272272
key: ${{ steps.ccache-prepare.outputs.key }}
@@ -311,7 +311,7 @@ jobs:
311311

312312
- name: Save ccache
313313
# Save the cache after we are done (successfully) building
314-
uses: actions/cache/save@v3
314+
uses: actions/cache/save@v5
315315
with:
316316
path: ${{ steps.ccache-prepare.outputs.ccachedir }}
317317
key: ${{ steps.ccache-prepare.outputs.key }}
@@ -357,15 +357,15 @@ jobs:
357357

358358
steps:
359359
- name: Checkout repository
360-
uses: actions/checkout@v3
360+
uses: actions/checkout@v6
361361

362362
- name: Install Dependencies
363363
run: |
364364
sudo apt-get update
365365
sudo apt-get install -y ccache gcc-${{ matrix.triple }} gfortran-${{ matrix.triple }} libgomp1-${{ matrix.target }}-cross
366366
367367
- name: Compilation cache
368-
uses: actions/cache@v3
368+
uses: actions/cache@v5
369369
with:
370370
path: ~/.ccache
371371
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}
@@ -392,7 +392,7 @@ jobs:
392392

393393
steps:
394394
- name: Checkout repository
395-
uses: actions/checkout@v3
395+
uses: actions/checkout@v6
396396

397397
- name: Install Dependencies
398398
run: |

.github/workflows/harmonyos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
-DCMAKE_INSTALL_PREFIX=install \
2121
-DCMAKE_BUILD_TYPE=Release \
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: ndk-install
2525
run: |
2626
wget https://repo.huaweicloud.com/harmonyos/os/4.1.1-Release/ohos-sdk-windows_linux-public.tar.gz

.github/workflows/loongarch64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v6
4242

4343
- name: Install APT deps
4444
run: |
@@ -47,7 +47,7 @@ jobs:
4747
gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu gfortran-14-loongarch64-linux-gnu
4848
4949
- name: Compilation cache
50-
uses: actions/cache@v3
50+
uses: actions/cache@v5
5151
with:
5252
path: ~/.ccache
5353
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}

.github/workflows/loongarch64_clang.yml

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

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v6
3535

3636
- name: Install libffi6
3737
run: |
@@ -51,7 +51,7 @@ jobs:
5151
tar -xf loongson-gnu-toolchain-8.3-x86_64-loongarch64-linux-gnu-rc1.3.tar.xz -C /opt
5252
5353
- name: Checkout qemu
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v6
5555
with:
5656
repository: qemu/qemu
5757
path: qemu
@@ -69,7 +69,7 @@ jobs:
6969
echo "PATH=$GITHUB_WORKSPACE:/opt/clang+llvm_8.0.1-6_amd64-linux-gnu_debian-10/bin:/opt/loongson-gnu-toolchain-8.3-x86_64-loongarch64-linux-gnu-rc1.3/bin:$PATH" >> $GITHUB_ENV
7070
7171
- name: Compilation cache
72-
uses: actions/cache@v3
72+
uses: actions/cache@v5
7373
with:
7474
path: ~/.ccache
7575
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}

.github/workflows/mips64.yml

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

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v6
3939

4040
- name: install build deps
4141
run: |
@@ -44,7 +44,7 @@ jobs:
4444
gcc-${{ matrix.triple }} gfortran-${{ matrix.triple }} libgomp1-mips64el-cross libglib2.0-dev
4545
4646
- name: checkout qemu
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v6
4848
with:
4949
repository: qemu/qemu
5050
path: qemu
@@ -58,7 +58,7 @@ jobs:
5858
make install
5959
6060
- name: Compilation cache
61-
uses: actions/cache@v3
61+
uses: actions/cache@v5
6262
with:
6363
path: ~/.ccache
6464
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}

0 commit comments

Comments
 (0)