Skip to content

Commit c44e130

Browse files
committed
Simplify GHA step
1 parent e53c906 commit c44e130

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci_poetry.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,17 @@ jobs:
8787
- name: Install dependencies (including fractal-tasks extra)
8888
run: poetry install --with dev --without docs --no-interaction -E fractal-tasks
8989

90-
# Check manifest has not changed - START
91-
- name: Regenerate the manifest
92-
run: poetry run python fractal_tasks_core/dev/create_manifest.py
93-
- name: Setup friendly diff style
94-
run: echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1"
95-
- name: Run git diff for manifest
96-
run: git diff ./fractal_tasks_core/__FRACTAL_MANIFEST__.json
9790
- name: Check if manifest has changed
9891
run: |
92+
poetry run python fractal_tasks_core/dev/create_manifest.py
93+
echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1"
94+
git diff ./fractal_tasks_core/__FRACTAL_MANIFEST__.json
9995
if [ -n "$(git diff --exit-code ./fractal_tasks_core/__FRACTAL_MANIFEST__.json)" ]; then
10096
echo "__FRACTAL_MANIFEST__.json has changed. Please run 'poetry run python fractal_tasks_core/dev/create_manifest.py' and commit the changes."
10197
exit 1
10298
else
10399
echo "__FRACTAL_MANIFEST__.json has not changed."
104100
fi
105-
# Check manifest has not changed - END
106101
107102
- name: Cache Pooch folder
108103
id: cache-pooch-folder

0 commit comments

Comments
 (0)