-
Notifications
You must be signed in to change notification settings - Fork 27
38 lines (30 loc) · 1010 Bytes
/
validation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: trident validate
# Trigger the workflow on push or pull request, but only for the master branch
on:
pull_request:
push:
branches: [master]
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
- name: Check if all files have UTF-8 encoding and Unix line endings
run: ./checkFileEncoding.sh
working-directory: ./data