Skip to content

Commit c28dddd

Browse files
committed
skip examples in msrv check
1 parent 47d1ab1 commit c28dddd

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/rust.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ ubuntu-latest, windows-latest, macOS-latest ]
12-
toolchain: [ "1.64", stable, beta, nightly ]
12+
toolchain: [ "1.64", stable ]
1313
runs-on: ${{ matrix.os }}
1414
env:
1515
RUSTFLAGS: -D warnings
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
- name: Install XCB and GL dependencies
1919
if: contains(matrix.os, 'ubuntu')
2020
run: sudo apt-get install libx11-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev
@@ -23,15 +23,18 @@ jobs:
2323
with:
2424
toolchain: ${{ matrix.toolchain }}
2525
- name: Build Default
26-
run: cargo build --workspace --all-targets --verbose
26+
run: cargo build -p baseview --verbose
2727
- name: Build All Features
28-
run: cargo build --workspace --all-targets --all-features --verbose
28+
run: cargo build -p baseview --all-features --verbose
2929
- name: Run tests
30-
run: cargo test --workspace --all-targets --all-features --verbose
30+
run: cargo test -p baseview --all-features --verbose
31+
- name: Build examples
32+
if: matrix.toolchain != '1.64'
33+
run: cargo build --workspace --all-targets --verbose
3134
checks:
3235
runs-on: ubuntu-latest
3336
steps:
34-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3538
- name: Install rust stable
3639
uses: dtolnay/rust-toolchain@stable
3740
with:

0 commit comments

Comments
 (0)