workflow fix
This commit is contained in:
parent
766321d746
commit
fbf0f94bcc
@ -31,8 +31,10 @@ RUST_TOOLCHAIN := $(shell cat rust-toolchain)
|
|||||||
rustup component add clippy-preview --toolchain $(RUST_TOOLCHAIN)
|
rustup component add clippy-preview --toolchain $(RUST_TOOLCHAIN)
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
|
# set TZ here for the benefit of a single unit test that fails
|
||||||
|
# when running in the GitHub workflow.
|
||||||
.build/check: .build/rs-tools $(ALL_SOURCE)
|
.build/check: .build/rs-tools $(ALL_SOURCE)
|
||||||
cargo test --lib -- --nocapture
|
TZ="Australia/Perth" cargo test --lib -- --nocapture
|
||||||
cargo fmt -- --check
|
cargo fmt -- --check
|
||||||
cargo clippy -- -D warnings
|
cargo clippy -- -D warnings
|
||||||
@touch $@
|
@touch $@
|
||||||
|
Loading…
Reference in New Issue
Block a user