Skip to content

Commit 43269cf

Browse files
authored
Merge pull request #1271 from yubiuser/tweak/devcontainer
Tweak/devcontainer
2 parents b2949c9 + 7bc7b46 commit 43269cf

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG debian_version=slim-bookworm
3-
ARG rust_version=1.70.0
3+
ARG rust_version=1.71.0
44
FROM rust:${rust_version}-${debian_version}
55

66
ARG DEBIAN_FRONTEND=noninteractive

test.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

0 commit comments

Comments
 (0)