Skip to content

Commit b35e66a

Browse files
committed
Update CI setup
1 parent 8dd8f55 commit b35e66a

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cargo Build & Test
1+
name: tests
22

33
on:
44
push:
@@ -8,28 +8,24 @@ env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
11-
build_and_test:
11+
test:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
1515
toolchain:
16+
- 1.74
1617
- stable
17-
- beta
1818
- nightly
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
21+
2122
- name: Setup toolchain
2223
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
24+
2325
- name: Setup sccache-cache
2426
uses: mozilla-actions/sccache-action@v0.0.9
25-
- name: Build project
26-
env:
27-
SCCACHE_GHA_ENABLED: "true"
28-
RUSTC_WRAPPER: "sccache"
29-
run: |
30-
cargo build --verbose
31-
cargo test --verbose
32-
- name: Test dlpack interface
27+
28+
- name: Run tests
3329
env:
3430
SCCACHE_GHA_ENABLED: "true"
3531
RUSTC_WRAPPER: "sccache"

0 commit comments

Comments
 (0)