Merge pull request #4 from poseidon-framework/chronicleUpdates #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: trident validate | |
# Trigger the workflow on push or pull request, but only for the main branch | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
validate: | |
name: validate packages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install trident | |
run: | | |
wget https://github.com/poseidon-framework/poseidon-hs/releases/latest/download/trident-Linux | |
chmod +x trident-Linux | |
- name: Clone data repo | |
uses: actions/checkout@v3 | |
with: | |
path: data | |
- name: Validation | |
run: ./trident-Linux validate -d data --ignoreGeno --logMode VerboseLog | |
- name: Check for displaced files | |
run: ./checkForDisplacedFiles.sh | |
working-directory: ./data | |
- name: Check if all registered files are actually LFS pointers | |
run: git lfs fsck --pointers | |
working-directory: ./data | |