You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1018 B
44 lines
1018 B
4 weeks ago
|
name: validate
|
||
2 years ago
|
on:
|
||
|
push:
|
||
|
branches:
|
||
2 years ago
|
- master
|
||
2 years ago
|
pull_request:
|
||
2 years ago
|
branches:
|
||
|
- master
|
||
12 months ago
|
- 1.23.X
|
||
2 years ago
|
workflow_dispatch:
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
pull-requests: write # enable write permissions for pull request comments
|
||
|
|
||
|
jobs:
|
||
|
json-yaml-validate:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
12 months ago
|
- uses: actions/checkout@v4
|
||
2 years ago
|
|
||
|
- name: json-yaml-validate
|
||
|
id: json-yaml-validate
|
||
12 months ago
|
uses: GrantBirki/json-yaml-validate@v2.4.0
|
||
2 years ago
|
with:
|
||
|
comment: "true" # enable comment mode
|
||
2 years ago
|
exclude_file: ".github/config/exclude.txt" # gitignore style file for exclusions
|
||
1 month ago
|
|
||
4 weeks ago
|
# General validations
|
||
|
validate:
|
||
1 month ago
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Use Node.js 20
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: 20
|
||
4 weeks ago
|
|
||
|
- name: Validate language JSON files
|
||
|
run: node ./extra/check-lang-json.js
|
||
|
|
||
|
- name: Validate knex migrations filename
|
||
|
run: node ./extra/check-knex-filenames.mjs
|