Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 399bffb

Browse files
committed
formatting: step 5 - add formatter check to the CI
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
1 parent e51e34f commit 399bffb

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/ci-fedora.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Install dependencies
1717
run: |
18-
dnf install -y autoconf automake gcc gettext-devel groff libtool make pkgconfig
18+
dnf install -y autoconf automake clang-tools-extra gcc gettext-devel groff libtool make pkgconfig
1919
dnf install -y aspell-devel check-devel gpm-devel libX11-devel "pkgconfig(ext2fs)" "pkgconfig(glib-2.0)" "pkgconfig(gmodule-2.0)" "pkgconfig(libssh2)" "pkgconfig(slang)"
2020
2121
# For tests
@@ -41,6 +41,9 @@ jobs:
4141
--enable-werror \
4242
&& \
4343
\
44+
make indent && \
45+
git diff --exit-code && \
46+
\
4447
make -j$(nproc) && \
4548
make check && \
4649
make install \

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Install dependencies
2121
run: |
22-
brew install autoconf automake gettext check gnu-indent libtool pkg-config
22+
brew install autoconf automake gettext check libtool pkg-config
2323
brew install aspell e2fsprogs glib libssh2 openssl s-lang
2424
2525
# unzip is part of the base system

.github/workflows/ci-ubuntu.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Install dependencies
1515
run: |
16-
sudo apt-get install -y autoconf autopoint check gettext indent libtool pkg-config
16+
sudo apt-get install -y autoconf autopoint check gettext libtool pkg-config
1717
sudo apt-get install -y e2fslibs-dev libaspell-dev libglib2.0-dev libgpm-dev libncurses5-dev libpcre2-dev libslang2-dev libssh2-1-dev libx11-dev unzip
1818
1919
- name: Bootstrap build system
@@ -39,10 +39,6 @@ jobs:
3939
--enable-vfs-undelfs \
4040
--enable-werror
4141
42-
make indent
43-
# TODO: exit 1
44-
git ls-files --modified
45-
4642
make -j$(nproc)
4743
make check
4844
make install

0 commit comments

Comments
 (0)