Skip to content

Commit bb41606

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

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 15 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,21 @@ 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: dtolnay/rust-toolchain@stable
2728
- uses: actions-rs/cargo@v1
28-
with:
29-
command: test
30-
args: >
31-
--features=${{ matrix.feature }}
32-
--manifest-path=blis-src/Cargo.toml
29+
- run: >
30+
cargo test
31+
--features=${{ matrix.feature }}
3332
3433
linux:
35-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3635
container:
3736
image: rust
3837
strategy:
@@ -43,17 +42,15 @@ jobs:
4342
- static
4443
- system
4544
steps:
46-
- uses: actions/checkout@v1
45+
- uses: actions/checkout@v4
4746
with:
4847
submodules: 'recursive'
4948
- name: Install BLIS by apt
5049
run: |
5150
apt update
5251
apt install -y libblis-dev
5352
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
53+
- uses: dtolnay/rust-toolchain@stable
54+
- run: >
55+
cargo test
56+
--features=${{ matrix.feature }}

0 commit comments

Comments
 (0)