Skip to content

chore(deps): update redis:7.4.1 docker digest to a06cea9 #1059

chore(deps): update redis:7.4.1 docker digest to a06cea9

chore(deps): update redis:7.4.1 docker digest to a06cea9 #1059

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:4a1de8fa2a929944373d7421105500ff6f889ce90dcb883fbb2fdb070e4d427e
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Java JDK
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
java-version: 17
distribution: liberica
- name: Run Setup Gradle
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
- 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