Skip to content

Commit

Permalink
Always run tests on MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Nov 23, 2024
1 parent a2a7d13 commit 9a8e7b7
Show file tree
Hide file tree
Showing 11 changed files with 185 additions and 119 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: install rustfmt
run: rustup component add rustfmt
- name: Format
run: cargo fmt --check

Expand All @@ -26,9 +25,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: install clippy
run: rustup component add clippy
- name: Clippy
run: cargo clippy -- -D warnings

Expand All @@ -51,7 +49,6 @@ jobs:
- uses: actions/checkout@v4
with:
path: "dir with spaces/ui test"
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --verbose
- name: Run ui tests
Expand Down Expand Up @@ -83,5 +80,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
- name: Install rustc-src component
run: rustup toolchain install nightly && rustup +nightly component add rust-src
- name: Run build-std test
run: cargo test --verbose --test build_std
run: cargo +nightly test --verbose --test build_std
Loading

0 comments on commit 9a8e7b7

Please sign in to comment.