Skip to content

Commit 48fcf94

Browse files
committed
Install splint in a definite system path as it wasn't found in /usr/local/bin/
1 parent 351a9c6 commit 48fcf94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/python-c-ext-sanity-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
dnf install -y python3-devel nss-devel pam-devel #splint
129129
wget https://www.splint.org/downloads/binaries/splint-3.1.1.Linux.tgz
130130
tar -xzf splint-3.1.1.Linux.tgz
131-
cp splint-3.1.1/bin/splint /usr/local/bin/
131+
cp splint-3.1.1/bin/splint /usr/bin/
132132
rm -rf splint-3.1.1.Linux.tgz splint-3.1.1
133133
# We need git installed to get a full repo clone rather than unpacked archive
134134
- name: Check out source repository
@@ -142,5 +142,6 @@ jobs:
142142
# NOTE: include tests here as they should be fully python3 compatible
143143
git config --global --add safe.directory "$PWD"
144144
echo "Lint changed code files: $(git diff --diff-filter=ACMRTB --name-only HEAD^1 -- | grep -E '\.(c|h)$')"
145+
echo "with splint from $(which splint)"
145146
# TODO: enable once we have figured out how to instal splint on rocky
146147
git diff --diff-filter=ACMRTB --name-only HEAD^1 -- | grep -E '\.(c|h)$' | xargs -r splint +posixlib -D__gnuc_va_list=va_list

0 commit comments

Comments
 (0)