mirror of https://github.com/LemmyNet/lemmy.git
Removing group from woodpecker, as its deprecated.
parent
b58da11fb7
commit
396e2dd0e0
|
@ -39,25 +39,21 @@ steps:
|
||||||
- git submodule update
|
- git submodule update
|
||||||
|
|
||||||
prettier_check:
|
prettier_check:
|
||||||
group: format
|
|
||||||
image: tmknom/prettier:3.0.0
|
image: tmknom/prettier:3.0.0
|
||||||
commands:
|
commands:
|
||||||
- prettier -c . '!**/volumes' '!**/dist' '!target' '!**/translations'
|
- prettier -c . '!**/volumes' '!**/dist' '!target' '!**/translations'
|
||||||
|
|
||||||
toml_fmt:
|
toml_fmt:
|
||||||
group: format
|
|
||||||
image: tamasfe/taplo:0.8.1
|
image: tamasfe/taplo:0.8.1
|
||||||
commands:
|
commands:
|
||||||
- taplo format --check
|
- taplo format --check
|
||||||
|
|
||||||
sql_fmt:
|
sql_fmt:
|
||||||
group: format
|
|
||||||
image: backplane/pgformatter:latest
|
image: backplane/pgformatter:latest
|
||||||
commands:
|
commands:
|
||||||
- ./scripts/sql_format_check.sh
|
- ./scripts/sql_format_check.sh
|
||||||
|
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
group: format
|
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
environment:
|
environment:
|
||||||
# store cargo data in repo folder so that it gets cached between steps
|
# store cargo data in repo folder so that it gets cached between steps
|
||||||
|
@ -67,7 +63,6 @@ steps:
|
||||||
- cargo +nightly fmt -- --check
|
- cargo +nightly fmt -- --check
|
||||||
|
|
||||||
cargo_machete:
|
cargo_machete:
|
||||||
group: format
|
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
commands:
|
commands:
|
||||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
|
@ -77,7 +72,6 @@ steps:
|
||||||
- cargo machete
|
- cargo machete
|
||||||
|
|
||||||
ignored_files:
|
ignored_files:
|
||||||
group: format
|
|
||||||
image: alpine:3
|
image: alpine:3
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
|
@ -188,7 +182,6 @@ steps:
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
cargo_test:
|
cargo_test:
|
||||||
group: tests
|
|
||||||
image: *rust_image
|
image: *rust_image
|
||||||
environment:
|
environment:
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
|
||||||
|
@ -200,7 +193,6 @@ steps:
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
||||||
run_federation_tests:
|
run_federation_tests:
|
||||||
group: tests
|
|
||||||
image: node:20-bookworm-slim
|
image: node:20-bookworm-slim
|
||||||
environment:
|
environment:
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
||||||
|
|
Loading…
Reference in New Issue