build: remove cppcheck-old target/job (#6676)

To avoid CI failures.

From the first run of `cppcheck_old` on commit 8f69e9841 ("bugfix:
firecfg: check full filename in check_profile() (#6674)", 2025-03-04)
[1]:

> This is a scheduled Ubuntu 20.04 brownout. Ubuntu 20.04 LTS runner
> will be removed on 2025-04-01. For more details, see
> https://github.com/actions/runner-images/issues/11101

The target depends on the cppcheck version from Ubuntu 20.04 in order to
work properly and this distribution will become EOL next month (April
2025), so just remove the target.

Added on commit 53f0b3950 ("CI: keep old cppcheck job and ignore two
files in new job that take too long to check", 2022-07-26).

[1] https://github.com/netblue30/firejail/actions/runs/13658953453/job/38185280665
This commit is contained in:
Kelvin M. Klann 2025-03-07 03:54:19 +00:00 committed by GitHub
parent ee1c264c5f
commit e98395b9aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 36 deletions

View file

@ -376,11 +376,6 @@ cppcheck:
$(CPPCHECK) --force --error-exitcode=1 --enable=warning,performance \
-i src/firejail/checkcfg.c -i src/firejail/main.c .
# For cppcheck 1.x; see .github/workflows/check-c.yml
.PHONY: cppcheck-old
cppcheck-old:
$(CPPCHECK) --force --error-exitcode=1 --enable=warning,performance .
.PHONY: scan-build
scan-build: clean
$(SCAN_BUILD) --status-bugs $(MAKE)