File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -77,22 +77,22 @@ Create file `.github/workflows/db-migration-validation.yaml` in the application
77
77
name : DB Migration Validation
78
78
79
79
on :
80
- push :
80
+ push :
81
81
82
82
jobs :
83
- db-migration-validation :
84
- runs-on : ubuntu-latest
85
- steps :
86
- - uses : actions/checkout@v2
87
- - uses : shivammathur/setup-php@v2
88
- with :
89
- php-version : 7.4
90
- extensions : tokenizer
91
- coverage : none
92
- - name : Install PHP DB Migration Validator dependency
93
- run : composer require antonkomarev/php-db-migration-validator --no-interaction
94
- - name : Ensure all database migrations are irreversible
95
- run : vendor/bin/ php-db-migration-validator --rule=irreversible ./database/migrations
83
+ db-migration-validation :
84
+ runs-on : ubuntu-latest
85
+ steps :
86
+ - uses : actions/checkout@v2
87
+ - uses : shivammathur/setup-php@v2
88
+ with :
89
+ php-version : 8.1
90
+ extensions : tokenizer
91
+ coverage : none
92
+ - name : Install PHP DB Migration Validator dependency
93
+ run : composer global require antonkomarev/php-db-migration-validator --no-interaction
94
+ - name : Ensure all database migrations are irreversible
95
+ run : php-db-migration-validator --rule=irreversible ./database/migrations
96
96
` ` `
97
97
98
98
### Command usage instructions
You can’t perform that action at this time.
0 commit comments