-
Notifications
You must be signed in to change notification settings - Fork 86
37 lines (35 loc) · 1012 Bytes
/
csv-lint.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
name: CSV Lint
on: [push, pull_request]
jobs:
youtube-lint:
runs-on: ubuntu-latest
name: Youtube CSV lint
steps:
- uses: actions/checkout@v1
- name: "Read file contents"
id: read-csv
uses: andstor/file-reader-action@v1
with:
path: youtube-channels.csv
- name: Find duplicate IDs
id: check-csv
uses: stephanebruckert/[email protected]
with:
file-content: "${{ steps.read-csv.outputs.contents }}"
find-duplicates: "true"
discogs-lint:
runs-on: ubuntu-latest
name: Discogs CSV lint
steps:
- uses: actions/checkout@v1
- name: "Read file contents"
id: read-csv
uses: andstor/file-reader-action@v1
with:
path: discogs-labels.csv
- name: Find duplicate IDs
id: check-csv
uses: stephanebruckert/[email protected]
with:
file-content: "${{ steps.read-csv.outputs.contents }}"
find-duplicates: "true"