X-Git-Url: http://these/git/?a=blobdiff_plain;f=.woodpecker.yml;h=07b0d60bc097c6d2d47dbc5a197dae28838e9e52;hb=2938b50908fb44c2f4dda61365ac7257021bf3c0;hp=4c9bf5187309513fd423a375d7249f3e91788397;hpb=c060546ffa96b61e25d163bc9113d23ed90b7a49;p=lemmy.git diff --git a/.woodpecker.yml b/.woodpecker.yml index 4c9bf518..07b0d60b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -27,6 +27,11 @@ pipeline: commands: - prettier -c . '!**/volumes' '!**/dist' '!target' '!**/translations' + taplo_check: + image: tamasfe/taplo:0.8.1 + commands: + - taplo format --check + # use minimum supported rust version for most steps cargo_fmt: image: *muslrust_image @@ -87,6 +92,13 @@ pipeline: - "! cargo tree -p lemmy_api_common --no-default-features -i diesel" # when: # platform: linux/amd64 + lemmy_api_common_works_with_wasm: + image: *muslrust_image + environment: + CARGO_HOME: .cargo + commands: + - "rustup target add wasm32-unknown-unknown" + - "cargo check --target wasm32-unknown-unknown -p lemmy_api_common" check_defaults_hjson_updated: image: *muslrust_image