From e7acd0e22bb74fff6460943ca0d8a77d7d19db66 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sun, 18 Dec 2022 21:12:49 +0530 Subject: [PATCH] feat: CI: build validator --- .woodpecker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 098d4f6..fd385a1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,5 +2,12 @@ pipeline: backend: image: rust commands: + - apt update && apt-get -y --no-install-recommends install tar wget + - rustup target add wasm32-unknown-unknown + - wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- + - mv ./trunk /usr/bin/ - make check - make lint + - cd ./libconfig-validator && make check + - cd ./libconfig-validator && make lint + - cd ./libconfig-validator && make release