chore(deps): update mariadb:11.2.2 docker digest to c006c05 #603
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test MariaDB | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
test: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
services: | |
mariadb: | |
image: mariadb:11.2.2@sha256:c006c05608604cf21c9f5b13af3ba7d6ccb3df5bc042c3fe294e0b6d34689b55 | |
ports: | |
- 3306:3306 | |
env: | |
MARIADB_USER: spring | |
MARIADB_PASSWORD: test | |
MARIADB_DATABASE: discordmodbot | |
MARIADB_ROOT_PASSWORD: test | |
options: >- | |
--health-cmd "/usr/local/bin/healthcheck.sh --su-mysql --connect --innodb_initialized" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 | |
- name: Setup Java JDK | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 | |
with: | |
java-version: 17 | |
distribution: liberica | |
- name: Run Gradle check | |
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0 | |
env: | |
SPRING_DATASOURCE_URL: jdbc:mariadb://127.0.0.1:3306/discordmodbot | |
SPRING_DATASOURCE_USERNAME: spring | |
SPRING_DATASOURCE_PASSWORD: test | |
SPRING_DATASOURCE_DRIVERCLASSNAME: org.mariadb.jdbc.Driver | |
with: | |
arguments: check |