[label] Compost Records #551
This file contains hidden or 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: 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/csv-contribution-action@1.0.0 | |
| 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: Validate CSV | |
| id: check-csv | |
| uses: mirrorfm/csv-contribution-action@1.0.2 | |
| with: | |
| file-content: "${{ steps.read-csv.outputs.contents }}" | |
| find-duplicates: "true" | |
| validate-id-format: "numeric" |