Add a CI pass for typos

Link Mauve created

Change summary

.gitlab-ci.yml | 11 +++++++++++
1 file changed, 11 insertions(+)

Detailed changes

.gitlab-ci.yml 🔗

@@ -71,6 +71,17 @@ rustfmt:
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
     - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_NAME == 'main'
 
+typos:
+  stage: lint
+  script:
+    - cargo install typos-cli
+    - typos
+  extends:
+    - .stable
+  rules:
+    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_NAME == 'main'
+
 changelog-update:
   stage: lint
   image: alpine:latest