From c709267abff4a38a1dcdf3abae2f0527f5d3c7ff Mon Sep 17 00:00:00 2001 From: Ben Morrow Date: Mon, 22 Apr 2024 11:28:12 +0100 Subject: [PATCH] Tidy up GH lint output The GH Actions checkout doesn't normally include tags or history, presumably for speed. We don't care for linting, but we don't need errors. GMake likes to print a lot of messages about entering and leaving directories, which are not helpful here. --- .github/workflows/lint.yaml | 2 +- mk/acs.git.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 13e0fae0..9bafb692 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -19,4 +19,4 @@ jobs: version: '3.6.3' # Specify the Helm version you want to use - name: Run lint - run: make lint + run: make --no-print-directory lint diff --git a/mk/acs.git.mk b/mk/acs.git.mk index e4c24bb9..a580a9fd 100644 --- a/mk/acs.git.mk +++ b/mk/acs.git.mk @@ -3,7 +3,7 @@ ifndef .acs.git.mk .acs.git.mk=1 -git.tag!=git describe --tags --abbrev=0 +git.tag!=git describe --tags --abbrev=0 2>/dev/null git.sha!=git rev-parse --verify HEAD .PHONY: git.prepare git.check-committed git.pull amend