File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22ARG debian_version=slim-bookworm
3- ARG rust_version=1.70 .0
3+ ARG rust_version=1.71 .0
44FROM rust:${rust_version}-${debian_version}
55
66ARG DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ # this script runs the tests and checks that also run as part of the`test.yml` github action workflow
6+
7+ cargo fmt --all -- --check
8+ cargo clippy -p librespot-core --no-default-features
9+ cargo clippy -p librespot-core
10+
11+ cargo hack clippy --each-feature -p librespot-discovery
12+ cargo hack clippy --each-feature -p librespot-playback
13+ cargo hack clippy --each-feature
14+
15+ cargo build --workspace --examples
16+ cargo test --workspace
17+ cargo check -p librespot-core --no-default-features
18+ cargo check -p librespot-core
19+ cargo hack check --no-dev-deps --each-feature -p librespot-discovery
20+ cargo hack check --no-dev-deps --each-feature -p librespot-playback
21+ cargo hack check --no-dev-deps --each-feature
You can’t perform that action at this time.
0 commit comments