From 54366fecd359f4efd6bc92bdc0758a207e953a67 Mon Sep 17 00:00:00 2001 From: daudix Date: Sun, 7 Jul 2024 19:07:41 +0300 Subject: [PATCH] Add spell checking step to the CI --- .woodpecker.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index ba17dc8..e62ad2a 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -11,6 +11,18 @@ clone: recursive: true steps: + # Check for typos + typos: + image: alpine:edge + commands: + - apk add curl jq + - curl -s "https://api.github.com/repos/crate-ci/typos/releases/latest" | jq -r '.assets[] | select(.name | contains("unknown-linux-musl")) | .browser_download_url' | xargs -n 1 curl -L -o typos.tar.gz + - tar -zxvf typos.tar.gz ./typos + - ./typos + failure: ignore + when: + event: [push, pull_request, manual] + # Build Zola static files build: image: alpine:edge