From 5cc2b0047d76ebaefc1112e52104c3bc52f4d6e7 Mon Sep 17 00:00:00 2001 From: krcroft Date: Sun, 26 Jan 2020 22:06:09 -0800 Subject: [PATCH] Stamp the PVS analysis directory with time-and-commit details --- .github/workflows/analysis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index b82374f8..162cb498 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -106,8 +106,11 @@ jobs: pvs-studio-analyzer analyze -s .pvs-suppress -o pvs-analysis.log -j "$(nproc)" criteria="GA:1,2;64:1;OP:1,2,3;CS:1;MISRA:1,2" plog-converter -a "${criteria}" -d V1042 -t csv -o pvs-report.csv pvs-analysis.log + mkdir -p pvs-analysis-report + stamp="$(date +'%Y-%m-%d_T%H%M')-${GITHUB_SHA:0:8}" plog-converter -a "${criteria}" -d V1042 -t fullhtml -p dosbox-staging \ - -v "${GITHUB_SHA:0:8}" -o pvs-analysis-report pvs-analysis.log + -v "${GITHUB_SHA:0:8}" -o "pvs-analysis-report/pvs-analysis-report-${stamp}" \ + pvs-analysis.log - name: Upload report uses: actions/upload-artifact@master with: