Node 12 version is deprecated since April 2022. > Node.js 12 actions are deprecated. For more information see: [github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/). Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v2
27 lines
602 B
YAML
27 lines
602 B
YAML
name: Catalog consistency checks
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.11
|
|
- name: Install toml python lib
|
|
run: |
|
|
pip3 install toml jsonschema
|
|
- name: Check TOML validity for apps.toml
|
|
run: |
|
|
python3 -c "import toml; toml.load(open('apps.toml'))"
|
|
- name: Check all working apps have consistent app id / app url and categories
|
|
run: |
|
|
python3 tools/catalog_linter.py
|