The missing action for MariaDB 🎉
- Simpler than containers
- Works on Linux, Mac, and Windows
- Supports different versions
Add it as a step to your workflow
- uses: ankane/setup-mariadb@v1
Specify a version
- uses: ankane/setup-mariadb@v1
with:
mariadb-version: "11.4"
Currently supports
Version | 11.4 |
10.11 |
10.6 |
10.5 |
---|---|---|---|---|
ubuntu-24.04 |
default | ✓ | ||
ubuntu-22.04 |
default | ✓ | ✓ | |
ubuntu-20.04 |
default | ✓ | ✓ | ✓ |
macos-15 |
default | ✓ | ✓ | ✓ |
macos-14 |
default | ✓ | ✓ | ✓ |
macos-13 |
default | ✓ | ✓ | ✓ |
windows-2022 |
default | ✓ | ✓ | ✓ |
windows-2019 |
default | ✓ | ✓ | ✓ |
Test against multiple versions
strategy:
matrix:
mariadb-version: ["11.4", "10.11", "10.6"]
steps:
- uses: ankane/setup-mariadb@v1
with:
mariadb-version: ${{ matrix.mariadb-version }}
Create a database
- uses: ankane/setup-mariadb@v1
with:
database: testdb
Run queries
- run: mysql -D testdb -e 'SELECT VERSION()'
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features