mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Trying other drone checks.
This commit is contained in:
parent
929f1d02b5
commit
2aa8de87b2
16
.drone.yml
16
.drone.yml
@ -13,28 +13,16 @@ steps:
|
|||||||
image: rustdocker/rust:nightly
|
image: rustdocker/rust:nightly
|
||||||
commands:
|
commands:
|
||||||
- /root/.cargo/bin/cargo fmt -- --check
|
- /root/.cargo/bin/cargo fmt -- --check
|
||||||
# disable this
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: cargo check
|
- name: cargo check
|
||||||
image: ekidd/rust-musl-builder:1.47.0
|
image: ekidd/rust-musl-builder:1.47.0
|
||||||
commands:
|
commands:
|
||||||
- cargo check --workspace --all-targets
|
- cargo check --workspace --all-targets
|
||||||
# disable this
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
image: ekidd/rust-musl-builder:1.47.0
|
image: ekidd/rust-musl-builder:1.47.0
|
||||||
commands:
|
commands:
|
||||||
- cargo clippy
|
- cargo clippy
|
||||||
# disable this
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: check documentation build
|
- name: check documentation build
|
||||||
image: ekidd/rust-musl-builder:1.47.0
|
image: ekidd/rust-musl-builder:1.47.0
|
||||||
@ -51,10 +39,6 @@ steps:
|
|||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get -y install --no-install-recommends espeak postgresql-client
|
- sudo apt-get -y install --no-install-recommends espeak postgresql-client
|
||||||
- cargo test --workspace --no-fail-fast
|
- cargo test --workspace --no-fail-fast
|
||||||
# disable this
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- refs/tags/*
|
|
||||||
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
image: ekidd/rust-musl-builder:1.47.0
|
image: ekidd/rust-musl-builder:1.47.0
|
||||||
|
Loading…
Reference in New Issue
Block a user