From ef8ca0b475081168541d42b5434842330430bde2 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 21 Feb 2022 06:40:14 +1000 Subject: [PATCH] refactor(state): add a newly created file to the cached state CI job --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c987795c42c..965d453120f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -158,15 +158,17 @@ jobs: persist-credentials: false fetch-depth: '2' + # only run this job if the database format might have changed - name: Get specific changed files id: changed-files-specific uses: tj-actions/changed-files@v14.4 with: files: | + /zebra-state/**/constants.rs + /zebra-state/**/finalized_state.rs /zebra-state/**/disk_format.rs /zebra-state/**/disk_db.rs - /zebra-state/**/finalized_state.rs - /zebra-state/**/constants.rs + /zebra-state/**/zebra_db.rs - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4