rewrite woodpecker-ci to publish to crates.io #8

Merged
kemitix merged 14 commits from woodpecker-ci into main 2024-02-26 10:36:03 +00:00
Showing only changes of commit 4fcbb1bf6b - Show all commits

View file

@ -69,13 +69,12 @@ steps:
CARGO_HOME: .cargo_home CARGO_HOME: .cargo_home
commands: commands:
- cargo build - cargo build
- mv target/debug/lemmy_server target/lemmy_server - mv target/debug/skip target/skip
when: *slow_check_paths when: *slow_check_paths
cargo_test: cargo_test:
image: *rust_image image: *rust_image
environment: environment:
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
CARGO_HOME: .cargo_home CARGO_HOME: .cargo_home
commands: commands: