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: "10.10"
Currently supports
Version | 10.11 |
10.10 |
10.9 |
10.8 |
10.7 |
10.6 |
10.5 |
10.4 |
10.3 |
---|---|---|---|---|---|---|---|---|---|
ubuntu-22.04 |
default | ✓ | ✓ | ||||||
ubuntu-20.04 |
default | ✓ | ✓ | EOL | ✓ | ✓ | |||
macos-12 |
✓ | default | ✓ | ✓ | EOL | ✓ | ✓ | ✓ | ✓ |
macos-11 |
✓ | default | ✓ | ✓ | EOL | ✓ | ✓ | ✓ | ✓ |
windows-2022 |
✓ | default | ✓ | ✓ | EOL | ✓ | ✓ | ✓ | ✓ |
windows-2019 |
✓ | default | ✓ | ✓ | EOL | ✓ | ✓ | ✓ | ✓ |
Test against multiple versions
strategy:
matrix:
mariadb-version: ["10.10", 10.9, 10.8]
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