Skip to content

Fix linting syntax error #452

Fix linting syntax error

Fix linting syntax error #452

Workflow file for this run

name: Check Zenodo JSON Formatting
on: [push, pull_request]
jobs:
check-json-formatting:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: check out repository code
uses: actions/checkout@v4
- name: set up conda environment
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- name: Install check-jsonschema
run: |
pip install check-jsonschema
- name: Check zenodo JSON formatting
run: |
check-jsonschema --schemafile https://zenodraft.github.io/metadata-schema-zenodo/latest/schema.json .zenodo.json