Skip to content

Commit

Permalink
refactor(state): add a newly created file to the cached state CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Feb 21, 2022
1 parent 93eeef5 commit 8a277ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
strategy:
matrix:
checks:
- bans
- bans
- sources

# Prevent sudden announcement of a new advisory from failing ci:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a277ae

Please sign in to comment.