Skip to content

Commit

Permalink
Update github workflows after repo split
Browse files Browse the repository at this point in the history
  • Loading branch information
Félix Piédallu authored and Salamandar committed Sep 13, 2024
1 parent 12c1bd9 commit c6a2d72
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 105 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/added_dates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.YUNOHOST_BOT_TOKEN }}

- uses: actions/checkout@v4
with:
repository: YunoHost/apps-tools
path: tools
fetch-depth: 0

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install toml python lib

- name: Install Python dependencies
run: |
pip3 install toml tomlkit gitpython
pip3 install -r tools/requirements.txt
- name: Add added dates to catalog files
run: |
./tools/save_added_date.py -l .
./tools/save_added_date.py --apps-dir .
- uses: uncenter/setup-taplo@v1
- run: taplo fmt
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/auto_messages_pot.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/autoblack.yml

This file was deleted.

17 changes: 14 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,30 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: YunoHost/apps-tools
path: tools
fetch-depth: 0

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install toml python lib

- name: Install Python dependencies
run: |
pip3 install toml jsonschema gitpython tqdm
pip3 install -r tools/requirements.txt
- 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: |
./tools/catalog_linter.py --apps-dir .
- name: Check the generation of the app catalog
run: |
./tools/list_builder.py
./tools/list_builder.py --apps-dir .
1 change: 1 addition & 0 deletions .github/workflows/test_toml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: uncenter/setup-taplo@v1

- run: taplo fmt

- name: Create Pull Request
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/tests_make_readme.yml

This file was deleted.

0 comments on commit c6a2d72

Please sign in to comment.