mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-21 11:51:11 +00:00
check for typos in ci (#196)
* check for typos in ci * add typo "teh" to see if ci fails * fail fast by checking typos first * update rust version to 1.70 * rustup update * check rust version * try with buster instead of slim * try with typos cli specific image * don't check rust version * try using older version of typos * try with debian bookwork * try downloading binary * fix typo * wget * remove typo
This commit is contained in:
parent
350eb03ce1
commit
f7d7038ada
1 changed files with 8 additions and 0 deletions
|
@ -12,11 +12,19 @@ pipeline:
|
|||
#- git fetch --tags
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
|
||||
check_formatting:
|
||||
image: tmknom/prettier
|
||||
commands:
|
||||
- prettier -c src
|
||||
|
||||
check_typos:
|
||||
image: alpine:3
|
||||
commands:
|
||||
- wget -O typos.tar.gz https://github.com/crate-ci/typos/releases/download/v1.14.12/typos-v1.14.12-x86_64-unknown-linux-musl.tar.gz
|
||||
- tar -xzf typos.tar.gz
|
||||
- ./typos src/en
|
||||
|
||||
check_documentation_build:
|
||||
image: rust:1.61-slim-buster
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue