[gnome-notes] Add Codespell job to CI
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] Add Codespell job to CI
- Date: Fri, 23 Apr 2021 13:15:07 +0000 (UTC)
commit c222528e1a95dfa3db31568dcd7ec0c28d13e6bf
Author: Yasharjit Malhotra <yasharjitm10 gmail com>
Date: Fri Apr 23 13:15:07 2021 +0000
Add Codespell job to CI
.gitlab-ci.yml | 7 +++++++
src/bjb-log.c | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ed4e2b..af1e6d8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,16 @@ variables:
GIT_SUBMODULE_STRATEGY: 'normal'
stages:
+ - 'source_check'
- 'flatpak'
- 'deploy'
+codespell:
+ when: on_success
+ stage: 'source_check'
+ image: "docker.io/bilelmoussaoui/codespell"
+ script: codespell -S "*.png,*.po,*.svg,.git,NEWS,AUTHORS,LINGUAS" -f --builtin "code,clear"
--ignore-words-list="stdio"
+
flatpak:master:
extends: '.flatpak'
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
diff --git a/src/bjb-log.c b/src/bjb-log.c
index b375e0f..c69d9bc 100644
--- a/src/bjb-log.c
+++ b/src/bjb-log.c
@@ -161,7 +161,7 @@ bjb_log_handler (GLogLevelFlags log_level,
const char *log_domain = NULL;
const char *log_message = NULL;
- /* If domain is “all” show logs upto debug regardless of the verbosity */
+ /* If domain is “all” show logs up to debug regardless of the verbosity */
switch ((int)log_level)
{
case G_LOG_LEVEL_MESSAGE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]