mautrix_meta_ynh/.github/workflows/main.yml
Metin Bektas 9a4936b922
chore: update actions version to use node 16 version
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
2023-10-31 10:37:30 +01:00

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