Refine names in CI steps

This commit is contained in:
Manuel Bustillo 2025-01-24 09:10:32 +01:00
parent 140555ed68
commit 5b6082fad6

View File

@ -34,7 +34,8 @@ jobs:
sleep 1 sleep 1
echo "Trying again" echo "Trying again"
done done
- run: | - name: Load schema and run unit tests
run: |
bundle exec rake db:schema:load bundle exec rake db:schema:load
bundle exec rspec bundle exec rspec
env: env:
@ -46,7 +47,7 @@ jobs:
with: with:
files: | files: |
db/migrate/**.rb db/migrate/**.rb
- name: List all migrations added - name: Redo all migrations and check there are no schema changes
if: steps.changed-migration-files.outputs.any_changed == 'true' if: steps.changed-migration-files.outputs.any_changed == 'true'
env: env:
ALL_CHANGED_FILES: ${{ steps.changed-migration-files.outputs.all_changed_files }} ALL_CHANGED_FILES: ${{ steps.changed-migration-files.outputs.all_changed_files }}