mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 21:01:23 +00:00
Trying to fix drone 14
This commit is contained in:
parent
7f573bbe0c
commit
f79c76f05f
1 changed files with 8 additions and 8 deletions
16
.drone.yml
16
.drone.yml
|
@ -20,12 +20,12 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- /root/.cargo/bin/cargo fmt -- --check
|
- /root/.cargo/bin/cargo fmt -- --check
|
||||||
|
|
||||||
- name: cargo clippy
|
# - name: cargo clippy
|
||||||
image: clux/muslrust:1.56.0
|
# image: clux/muslrust:1.56.0
|
||||||
commands:
|
# commands:
|
||||||
- rustup component add clippy
|
# - rustup component add clippy
|
||||||
- cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
|
# - cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
|
||||||
- cargo clippy --workspace -- -D clippy::unwrap_used
|
# - cargo clippy --workspace -- -D clippy::unwrap_used
|
||||||
|
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
image: clux/muslrust:1.56.0
|
image: clux/muslrust:1.56.0
|
||||||
|
@ -35,8 +35,8 @@ steps:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
RUST_TEST_THREADS: 1
|
RUST_TEST_THREADS: 1
|
||||||
commands:
|
commands:
|
||||||
- sudo apt-get update
|
- apt-get update
|
||||||
- sudo apt-get -y install --no-install-recommends postgresql-client
|
- apt-get -y install --no-install-recommends postgresql-client
|
||||||
- cargo test --workspace --no-fail-fast
|
- cargo test --workspace --no-fail-fast
|
||||||
|
|
||||||
- name: check defaults.hjson updated
|
- name: check defaults.hjson updated
|
||||||
|
|
Loading…
Reference in a new issue