File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
- name : acceptance-test
1
+ name : acceptance
2
2
3
3
on :
4
4
pull_request :
@@ -11,7 +11,7 @@ permissions:
11
11
pull-requests : write
12
12
13
13
jobs :
14
- test :
14
+ acceptance :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
# Need to checkout for testing the Action in this repo
Original file line number Diff line number Diff line change 1
1
# JSON and YAML - Validator ✅
2
2
3
- [ ![ CodeQL] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/codeql-analysis.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/codeql-analysis.yml ) [ ![ test] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/test.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/test.yml ) [ ![ acceptance-test] ( https://github.com/GrantBirki/json-yaml-validate/actions/workflows/acceptance-test.yml/badge.svg )] ( https://github.com/GrantBirki/json-yaml-validate/actions/workflows/acceptance-test.yml ) [ ![ package-check] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/package-check.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/package-check.yml ) [ ![ lint] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/lint.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/lint.yml ) [ ![ coverage] ( ./badges/coverage.svg )] ( ./badges/coverage.svg )
3
+ [ ![ CodeQL] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/codeql-analysis.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/codeql-analysis.yml )
4
+ [ ![ test] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/test.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/test.yml )
5
+ [ ![ acceptance] ( https://github.com/GrantBirki/json-yaml-validate/actions/workflows/acceptance.yml/badge.svg )] ( https://github.com/GrantBirki/json-yaml-validate/actions/workflows/acceptance.yml )
6
+ [ ![ package-check] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/package-check.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/package-check.yml )
7
+ [ ![ lint] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/lint.yml/badge.svg )] ( https://github.com/grantbirki/json-yaml-validate/actions/workflows/lint.yml )
8
+ [ ![ coverage] ( ./badges/coverage.svg )] ( ./badges/coverage.svg )
4
9
5
10
A GitHub Action to quickly validate JSON and YAML files in a repository
6
11
@@ -134,7 +139,7 @@ This Action also supports schema validation for both JSON and YAML files.
134
139
References docs for both JSON and YAML schema validation can be found at the links below :
135
140
136
141
- [JSON Schema Validation Docs](https://ajv.js.org/json-schema.html#json-schema)
137
- - [YAML Schema Validation Docs](https://github.com/ketanSaxena/schema-validator#yaml-schema) - Additional docs [here](https://www.npmjs.com/package/validate)
142
+ - [YAML Schema Validation Docs](https://github.com/ketanSaxena/schema-validator#yaml-schema) - Additional docs [can be found here](https://www.npmjs.com/package/validate)
138
143
139
144
> Note: JSON files and YAML files use two separate libraries for schema validation
140
145
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ skipping due to exclude match: __tests__/fixtures/json/project_dir/data/config/.
25
25
action.yml is valid
26
26
valid.yaml is valid
27
27
skipping due to exclude match: tmp/invalid.yaml
28
- .github/workflows/acceptance-test .yml is valid
28
+ .github/workflows/acceptance.yml is valid
29
29
.github/workflows/codeql-analysis.yml is valid
30
30
.github/workflows/lint.yml is valid
31
31
.github/workflows/package-check.yml is valid
You can’t perform that action at this time.
0 commit comments