From b0feb9b4d5b77fccafe476091dbfe6e5a1e4646e Mon Sep 17 00:00:00 2001 From: Sergei Iudin Date: Fri, 1 Oct 2021 12:58:36 -0700 Subject: [PATCH] Remove caching of pahole test result Initial idea was to run it hourly, but when it runs hourly it produce a lot of useless noise and we had to switch it do daily. When we run it daily caching make much less sense and only make debugging more complex. --- .github/workflows/pahole.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/pahole.yml b/.github/workflows/pahole.yml index 379da76..a4d09b8 100644 --- a/.github/workflows/pahole.yml +++ b/.github/workflows/pahole.yml @@ -14,27 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: ./.github/actions/setup - - name: Get current pahole sha - id: current_sha - run: - git ls-remote https://git.kernel.org/pub/scm/devel/pahole/pahole.git $STAGING | awk '{print "::set-output name=sha::" $1}' - - name: Get latest result for this sha - id: latest - uses: pat-s/always-upload-cache@v2 - with: - path: last_tested_pahole - key: ${{ steps.current_sha.outputs.sha }} - - name: Return cached test result - run: exit `cat last_tested_pahole || echo 1` # if file is empty that mean previous run timed out of canceled, returning failure - if: steps.latest.outputs.cache-hit == 'true' - uses: ./.github/actions/vmtest with: kernel: LATEST pahole: $STAGING - if: steps.latest.outputs.cache-hit != 'true' - - name: Save success - run: echo 0 > last_tested_pahole - if: steps.latest.outputs.cache-hit != 'true' - - name: Save failure - run: echo 1 > last_tested_pahole - if: ${{ failure() && steps.latest.outputs.cache-hit != 'true' }}