Actions workflow for check collation of MySQL tables.
see actions.yml.
steps:
- uses: Azuki-bar/mysql-collations-checker-action@main
with:
table_definitions: |
db/foo.sql
db/bar.*.sql
expect_collation: utf8mb4_general_ci
Path to table definitions file. this input expects white space or newline seperated list.
accept asterisk to expand path.
Specify expected collation value, For example, utf8mb4_general_ci
.
Specify MySQL Version. if not specified, use latest
.
Workflows accepts https://hub.docker.com/_/mysql tags value like 8.0.33
or 8.0.33-debian
.
Specify ignored table name list.
this input expects white space or new line sererated list.
steps:
- uses: Azuki-bar/mysql-collations-checker-action@main
with:
table_definitions: |
db/foo.sql
db/bar.*.sql
expect_collation: utf8mb4_general_ci
ignore_tables: |
table1
table2