-
Notifications
You must be signed in to change notification settings - Fork 27
42 lines (33 loc) · 1.14 KB
/
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
39
40
41
42
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
- name: Check if any .janno and .ssf files start with a single or double-quote character
run: ./checkQuotes.sh
working-directory: ./data