Skip to content

Commit a1d2eb5

Browse files
committed
ci: update runners to macos-13 and ubuntu-22.04
1 parent bb70b40 commit a1d2eb5

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
macos:
11-
runs-on: macos-10.15
11+
runs-on: macos-13
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -17,22 +17,20 @@ jobs:
1717
- static
1818
- system
1919
steps:
20-
- uses: actions/checkout@v1
20+
- uses: actions/checkout@v4
2121
with:
2222
submodules: 'recursive'
2323
- name: Install BLIS by homebrew
2424
run: |
2525
brew install blis
2626
if: ${{ contains(matrix.feature, 'system') }}
27-
- uses: actions-rs/cargo@v1
28-
with:
29-
command: test
30-
args: >
31-
--features=${{ matrix.feature }}
32-
--manifest-path=blis-src/Cargo.toml
27+
- uses: dtolnay/rust-toolchain@stable
28+
- run: >
29+
cargo test
30+
--features=${{ matrix.feature }}
3331
3432
linux:
35-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-22.04
3634
container:
3735
image: rust
3836
strategy:
@@ -43,17 +41,15 @@ jobs:
4341
- static
4442
- system
4543
steps:
46-
- uses: actions/checkout@v1
44+
- uses: actions/checkout@v4
4745
with:
4846
submodules: 'recursive'
4947
- name: Install BLIS by apt
5048
run: |
5149
apt update
5250
apt install -y libblis-dev
5351
if: ${{ contains(matrix.feature, 'system') }}
54-
- uses: actions-rs/cargo@v1
55-
with:
56-
command: test
57-
args: >
58-
--features=${{ matrix.feature }}
59-
--manifest-path=blis-src/Cargo.toml
52+
- uses: dtolnay/rust-toolchain@stable
53+
- run: >
54+
cargo test
55+
--features=${{ matrix.feature }}

0 commit comments

Comments
 (0)