File tree 2 files changed +39
-1
lines changed
2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ '*', '*/*' ]
6
+
7
+ jobs :
8
+ test :
9
+ name : Test for Rust ${{ matrix.rustver }} on ${{ matrix.os }}
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ rustver : ['1.80.1', stable]
15
+ os : [ubuntu-latest, windows-latest, macos-latest]
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - uses : dtolnay/rust-toolchain@stable
19
+ with :
20
+ toolchain : ${{ matrix.rustver }}
21
+ - run : cargo test -- --show-output
22
+
23
+ cover :
24
+ name : Coverage for Rust ${{ matrix.rustver }} on ${{ matrix.os }}
25
+ runs-on : ${{ matrix.os }}
26
+ strategy :
27
+ fail-fast : false
28
+ matrix :
29
+ rustver : [stable]
30
+ os : [ubuntu-latest]
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - uses : dtolnay/rust-toolchain@stable
34
+ with :
35
+ toolchain : ${{ matrix.rustver }}
36
+ components : llvm-tools-preview
37
+ - run : cargo install cargo-llvm-cov
38
+ - run : cargo llvm-cov
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "sabi-rust"
3
3
version = " 0.1.0"
4
4
authors = [
" Takayuki Sato <[email protected] >" ]
5
5
edition = " 2021"
6
- rust-version = " 1.74 .1"
6
+ rust-version = " 1.80 .1"
7
7
description = " A small framework to separate logics and data accesses for Rust application."
8
8
documentation = " https://docs.rs/sabi-rust"
9
9
readme = " README.md"
You can’t perform that action at this time.
0 commit comments