commit 09b2ae325c22472b7514ba86ef9910965886ec8d from: witcher date: Thu May 5 17:35:06 2022 UTC add ci commit - b0d5b9d2faccfd554d6452466c6aba5327e6efe0 commit + 09b2ae325c22472b7514ba86ef9910965886ec8d blob - /dev/null blob + 56eaf1c2d789ee5231ebc65653d06da4a0e22847 (mode 644) --- /dev/null +++ .build.yml @@ -0,0 +1,30 @@ +image: archlinux +triggers: + - action: email + condition: failure + to: witcher +packages: + - rustup +sources: + - https://git.sr.ht/~witcher/todoist-to-todotxt +tasks: + - setup: | + rustup default nightly + - version: | + rustc -V + - verify: | + cd todoist-to-todotxt + curl -s "https://wiredspace.de/pgp/witcher_wiredspace_public.gpg" | gpg --import + git verify-commit HEAD + - format: | + cd todoist-to-todotxt + cargo fmt -- --check + - build: | + cd todoist-to-todotxt + cargo build + - test: | + cd todoist-to-todotxt + cargo test + - clippy: | + cd todoist-to-todotxt + cargo clippy -- -D warnings