diff --git a/.woodpecker.yml b/.woodpecker.yml index 4b5ff99ad..4968ec786 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -22,6 +22,16 @@ pipeline: - git submodule init - git submodule update --recursive --remote + check_diesel_schema: + image: willsquire/diesel-cli + environment: + CARGO_HOME: .cargo + DATABASE_URL: postgres://lemmy:password@database:5432/lemmy + commands: + - diesel migration run + - diesel print-schema --config-file=diesel.toml > tmp.schema + - diff tmp.schema crates/db_schema/src/schema.rs + # use minimum supported rust version for most steps cargo_fmt: image: *muslrust_image @@ -105,16 +115,6 @@ pipeline: # when: # platform: linux/amd64 - check_diesel_schema: - image: jameshiew/diesel-cli - environment: - CARGO_HOME: .cargo - DATABASE_URL: postgres://lemmy:password@database:5432/lemmy - commands: - - diesel migration run - - diesel print-schema --config-file=diesel.toml > tmp.schema - - diff tmp.schema crates/db_schema/src/schema.rs - cargo_test: image: *muslrust_image environment: