Skip to content

Commit 73e437e

Browse files
committed
cicd: lint csvs
1 parent 0bc1342 commit 73e437e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/database.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ on:
44
pull_request:
55

66
jobs:
7+
csv:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
- name: Lint
13+
run: |
14+
set -e
15+
curl -sSOL https://github.com/Clever/csvlint/releases/download/v0.3.0/csvlint-v0.3.0-linux-amd64.tar.gz
16+
for filename in data/v2/csv/*.csv; do
17+
./csvlint "$filename"
18+
done
719
sqlite:
820
runs-on: ubuntu-latest
921
steps:

0 commit comments

Comments
 (0)