Skip to content

Update bilgeycl.medium.json #35

Update bilgeycl.medium.json

Update bilgeycl.medium.json #35

Workflow file for this run

on:
pull_request:
paths:
- 'blogs/**'
name: Validate JSON
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 5
- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-r@v2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: blogs/
- name: Cleanup json template comments
run: |
for f in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo Cleaning $f
sed -i .bk 's.//required..g' $f
rm ${f}.bk
done
- name: Install R dependencies
run: |

Check failure on line 33 in .github/workflows/validate.yaml

View workflow run for this annotation

GitHub Actions / Validate JSON

Invalid workflow file

The workflow is not valid. .github/workflows/validate.yaml (Line: 33, Col: 9): 'run' is already defined
install.packages(c("jsonlite", "jsonvalidate", "rmarkdown", "here"),
repos = "https://cloud.r-project.org/")
shell: Rscript {0}
- name: Validate jsons
run: Rscript 'scripts/validate_jsons.R'