File tree Expand file tree Collapse file tree 5 files changed +302
-4
lines changed Expand file tree Collapse file tree 5 files changed +302
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches-ignore :
7
+ - main
8
+ - release*
9
+
10
+ jobs :
11
+ clippy :
12
+ name : Clippy and Format Check
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Rust Tool Chain setup
19
+ uses : dtolnay/rust-toolchain@stable
20
+ with :
21
+ toolchain : stable
22
+
23
+ - name : Install clippy
24
+ run : rustup component add clippy
25
+
26
+ - name : Cargo Fetch
27
+ run : cargo fetch
28
+
29
+ - name : Check
30
+ run : cargo fmt --all -- --check
31
+
32
+ - name : Run Clippy
33
+ run : cargo clippy --all-features -- -Dwarnings
Original file line number Diff line number Diff line change
1
+ name : PR/CI Check
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches-ignore :
7
+ - main
8
+ - release*
9
+
10
+ jobs :
11
+ unit-tests :
12
+ name : Unit Tests
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ include :
18
+ - os : windows-latest
19
+ target : x86_64-pc-windows-msvc
20
+ - os : windows-latest
21
+ target : aarch64-pc-windows-msvc
22
+ - os : ubuntu-latest
23
+ target : x86_64-unknown-linux-musl
24
+ # - os: ubuntu-latest
25
+ # target: aarch64-unknown-linux-gnu
26
+ # - os: ubuntu-latest
27
+ # target: arm-unknown-linux-gnueabihf
28
+ - os : macos-latest
29
+ target : x86_64-apple-darwin
30
+ - os : macos-14
31
+ target : aarch64-apple-darwin
32
+ - os : ubuntu-latest
33
+ target : x86_64-unknown-linux-musl
34
+ vsix-target : alpine-x64
35
+ # - os: ubuntu-latest
36
+ # target: aarch64-unknown-linux-musl
37
+ steps :
38
+ - name : Checkout
39
+ uses : actions/checkout@v4
40
+
41
+ - name : Rust Tool Chain setup
42
+ uses : dtolnay/rust-toolchain@stable
43
+ with :
44
+ toolchain : stable
45
+ targets : ${{ matrix.target }}
46
+
47
+ - name : Cargo Fetch
48
+ run : cargo fetch
49
+
50
+ - name : Run Tests
51
+ run : cargo test --frozen --all-features
Original file line number Diff line number Diff line change 3
3
debug /
4
4
target /
5
5
6
- # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7
- # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8
- Cargo.lock
9
-
10
6
# These are backup files generated by rustfmt
11
7
** /* .rs.bk
12
8
File renamed without changes.
You can’t perform that action at this time.
0 commit comments