fix: Move migrations to non blocking callback #1185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: | |
- 'main' | |
name: Default Checks | |
jobs: | |
versions_updated: | |
name: Versions Updated | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Verify Versions Updated | |
uses: tj-actions/changed-files@v41 | |
id: verify_changed_files | |
with: | |
files: | | |
mix.exs | |
- name: Fail Unless Versions Updated | |
id: fail_unless_changed | |
if: steps.verify_changed_files.outputs.any_changed == 'false' | |
run: | | |
echo "::error ::Please update the mix.exs version" | |
exit 1 |