-
Notifications
You must be signed in to change notification settings - Fork 78
feat(ci): add sourcemeta/jsonschema to find linting issues #1053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Karan-Palan
wants to merge
9
commits into
riscv-software-src:main
from
Karan-Palan:linting/add-jsonschema-cli
+75
−1,189
Closed
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c9b5f8d
feat(ci): add sourcemeta/jsonschema to find linting issues
Karan-Palan 069a027
chore: update cli version to 11.7.0
Karan-Palan 707e257
feat(pre-commit): add schema fix on pre-commit
Karan-Palan 157ebc1
Merge branch 'main' into linting/add-jsonschema-cli
Karan-Palan b2d5958
chore: add fallback lint check for schemas where autofixing fails
Karan-Palan 003ca62
chore: update order
Karan-Palan 3160b65
Merge branch 'main' into linting/add-jsonschema-cli
Karan-Palan 0467478
chore: run pre-commit on schemas
Karan-Palan 3afd08b
chore: update branch
Karan-Palan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,19 @@ jobs: | |
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| - uses: pre-commit/[email protected] | ||
| regress-jsonschema-lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| - name: Install dependencies | ||
| run: npm install | ||
| - name: Lint JSON Schemas | ||
| run: npx jsonschema lint --exclude const_with_type --ignore spec/schemas/json-schema-draft-07.json spec/schemas/*.json | ||
| regress-smoke: | ||
| needs: build-llvm | ||
| runs-on: ubuntu-latest | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.