Skip to content

chore(deps): update mariadb:11.5.2 docker digest to 346f3a6 #1002

chore(deps): update mariadb:11.5.2 docker digest to 346f3a6

chore(deps): update mariadb:11.5.2 docker digest to 346f3a6 #1002

Workflow file for this run

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.5.2@sha256:346f3a6792bf88014a9d9290927c12c13522a50e0e7e6d40aaa9add73df0bcc6
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Java JDK
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: 17
distribution: liberica
- name: Run Setup Gradle
uses: gradle/actions/setup-gradle@16bf8bc8fe830fa669c3c9f914d3eb147c629707 # v4.0.1
- name: Run Gradle check
run: ./gradlew check
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