We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10d7795 commit e92c659Copy full SHA for e92c659
1 file changed
.github/workflows/build.yml
@@ -97,6 +97,12 @@ jobs:
97
- name: Run style checks
98
run: bundle exec rubocop
99
100
+ - name: Validate database migrations
101
+ env:
102
+ RAILS_ENV: production
103
+ DISABLE_DATABASE_ENVIRONMENT_CHECK: 1
104
+ run: rails --trace db:drop db:create db:migrate
105
+
106
- name: Upload artifacts
107
if: ${{ always() }}
108
uses: actions/upload-artifact@v3
0 commit comments