Skip to content

Commit 4f1980e

Browse files
Rails 8 requires a secret_key_base so setting it to a dummy value for testing
1 parent 338d4b0 commit 4f1980e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ jobs:
132132
- name: Validate database migrations
133133
env:
134134
RAILS_ENV: production
135+
SECRET_KEY_BASE: dummy
135136
DISABLE_DATABASE_ENVIRONMENT_CHECK: 1
136-
run: rails --trace db:drop db:create db:migrate
137+
run: bundle exec rails --trace db:drop db:create db:migrate
137138

138139
- name: Upload artifacts
139140
if: ${{ always() }}

0 commit comments

Comments
 (0)