Skip to content

Commit 549826d

Browse files
committed
Add MSRV and beta to CI
1 parent 51a59fa commit 549826d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

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

33
on:
44
push:
5-
branches: [ "master" ]
65
pull_request:
7-
branches: [ "master" ]
86

97
env:
108
CARGO_TERM_COLOR: always
@@ -15,15 +13,18 @@ jobs:
1513
strategy:
1614
matrix:
1715
os: [ ubuntu-latest, windows-latest ]
16+
toolchain: [1.83, stable, beta]
1817
steps:
1918
- uses: actions/checkout@v4
2019
with:
2120
submodules: recursive
21+
- name: Setup toolchain
22+
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
2223
- name: Build
2324
run: cargo build --verbose
2425
- name: Run tests
2526
run: cargo test --verbose
2627
- name: Run tests in release mode
2728
run: cargo test --verbose --release
2829
- name: Clippy
29-
run: cargo clippy
30+
run: rustup component add clippy && cargo clippy

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ description = "The Intel Processor Trace (Intel PT) Decoder Library is Intel's r
1111
categories = ["development-tools::debugging", "development-tools::profiling"]
1212
repository = "https://github.com/sum-catnip/libipt-rs"
1313
keywords = ["IntelPT", "ProcessorTrace", "libipt"]
14-
rust-version = "1.82.0"
14+
rust-version = "1.83.0"
1515

1616
[features]
1717
libipt_master = ["libipt-sys/libipt_master"]
1818

1919
[dependencies]
2020
libipt-sys = { version = "0.2.1", git = "https://github.com/sum-catnip/libipt-sys.git" }
2121
bitflags = "2.4.1"
22-
derive_more = { version = "2.0.1", features = ["deref"]}
22+
derive_more = { version = "2.0.1", features = ["deref"] }
2323
num_enum = "0.7.1"

0 commit comments

Comments
 (0)