hidden_server/.drone.yml
Pierre HUBERT 39beb75a71
All checks were successful
continuous-integration/drone/push Build is passing
Refresh repository
2025-03-31 23:52:58 +02:00

40 lines
695 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: fetch_dependencies
image: rust
volumes:
- name: rust_registry
path: /usr/local/cargo/registry
commands:
- cargo fetch
- name: code_quality
image: rust
volumes:
- name: rust_registry
path: /usr/local/cargo/registry
depends_on:
- fetch_dependencies
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- name: test
image: rust
volumes:
- name: rust_registry
path: /usr/local/cargo/registry
depends_on:
- code_quality
commands:
- cargo test
volumes:
- name: rust_registry
temp: {}