Skip to content

Commit 58bf8df

Browse files
authored
Explicitly set MSRV to 1.80 (#242)
1 parent 2fa3ec5 commit 58bf8df

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/rust.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,28 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ ubuntu-latest, windows-latest, macOS-latest ]
12+
toolchain: [ "1.80", stable ]
1213
runs-on: ${{ matrix.os }}
1314
env:
1415
RUSTFLAGS: -D warnings
15-
RUSTDOCFLAGS: -D warnings
1616
steps:
1717
- uses: actions/checkout@v6
1818
- name: Install rust stable
1919
uses: dtolnay/rust-toolchain@stable
2020
with:
21-
toolchain: stable
21+
toolchain: ${{ matrix.toolchain }}
2222
components: clippy
2323
- name: Build Default
24-
run: cargo build --workspace --all-targets --verbose
24+
run: cargo build -p baseview --verbose
2525
- name: Build All Features
26-
run: cargo build --workspace --all-targets --all-features --verbose
26+
run: cargo build -p baseview --all-features --verbose
2727
- name: Run tests
28-
run: cargo test --workspace --all-targets --all-features --verbose
28+
run: cargo test -p baseview --all-features --verbose
29+
- name: Build examples
30+
if: matrix.toolchain != '1.80'
31+
run: cargo build --workspace --all-targets --verbose
2932
- name: Clippy
33+
if: matrix.toolchain != '1.80'
3034
run: cargo clippy --all --all-features -- -D warnings
3135
checks:
3236
runs-on: ubuntu-latest

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ categories = ["gui"]
2020
repository = "https://github.com/RustAudio/baseview"
2121

2222
exclude = [".github"]
23+
rust-version = "1.80"
2324

2425
[features]
2526
default = []

0 commit comments

Comments
 (0)