Skip to content

Commit ab1e4f5

Browse files
committed
Cleanup enabled from key
1 parent c213f83 commit ab1e4f5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ jobs:
176176
runs-on: ${{ needs.setup.outputs.compute-test-go }}
177177
runs-on-small: ${{ needs.setup.outputs.compute-small }}
178178
testonly: true
179-
test-timing-cache-restore-enabled: false
180-
test-timing-cache-save-enabled: false
179+
test-timing-cache-restore: false
180+
test-timing-cache-save: false
181181
total-runners: 2 # test runners cannot be less than 2
182182
secrets: inherit
183183

.github/workflows/test-go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ on:
6464
required: false
6565
default: false
6666
type: boolean
67-
test-timing-cache-restore-enabled:
67+
test-timing-cache-restore:
6868
description: Restore the gotestsum test timing data from cache.
6969
required: false
7070
default: true
7171
type: boolean
72-
test-timing-cache-save-enabled:
72+
test-timing-cache-save:
7373
description: Upload the gotestsum test timing data to cache.
7474
required: false
7575
default: true
@@ -144,7 +144,7 @@ jobs:
144144
- uses: ./.github/actions/set-up-gotestsum
145145
- run: mkdir -p ${{ steps.metadata.outputs.go-test-dir }}
146146
- uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
147-
if: inputs.test-timing-cache-restore-enabled || inputs.test-timing-cache-save-enabled
147+
if: inputs.test-timing-cache-restore || inputs.test-timing-cache-save
148148
with:
149149
path: ${{ steps.metadata.outputs.go-test-dir }}
150150
key: ${{ inputs.test-timing-cache-key }}-${{ github.run_number }}
@@ -646,20 +646,20 @@ jobs:
646646
echo "test-go-results=${test_go_results}"
647647
} | tee -a "$GITHUB_OUTPUT"
648648
# Aggregate, prune, and cache our timing data
649-
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save-enabled }}
649+
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save }}
650650
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
651651
with:
652652
path: ${{ needs.test-matrix.outputs.go-test-dir }}
653653
key: ${{ inputs.test-timing-cache-key }}-${{ github.run_number }}
654654
restore-keys: |
655655
${{ inputs.test-timing-cache-key }}-
656-
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save-enabled }}
656+
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save }}
657657
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
658658
with:
659659
path: ${{ needs.test-matrix.outputs.go-test-dir }}
660660
pattern: ${{ needs.test-go.outputs.go-test-results-download-pattern }}
661661
merge-multiple: true
662-
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save-enabled }}
662+
- if: ${{ ! cancelled() && needs.test-go.result == 'success' && inputs.test-timing-cache-save }}
663663
name: Prune any invalid timing files
664664
run: |
665665
ls -lhR '${{ needs.test-matrix.outputs.go-test-dir }}'

0 commit comments

Comments
 (0)