Skip to content

Commit

Permalink
Merge pull request #6 from geneontology/fix-gh-action
Browse files Browse the repository at this point in the history
Fix new GH action to validate JSON
  • Loading branch information
dustine32 authored Jan 26, 2024
2 parents 003aa0e + 0de5e57 commit 58ca0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
python-version: [3.6]
python-version: ["3.10"]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion src/simple_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_jschema(validator, test_pattern):

f = open(sys.argv[1], 'r')

spec = yaml.load(f.read())
spec = yaml.safe_load(f.read())

v = Draft4Validator(spec)

Expand Down

0 comments on commit 58ca0e3

Please sign in to comment.