chore(deps): update plugin io.spring.dependency-management to v1.1.3 #466
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:10.11.4@sha256:4b6b625ae683588d99507ac01b042863d4311b6e15f81d653be6892762637375 | |
ports: | |
- 3306:3306 | |
env: | |
MYSQL_USER: spring | |
MYSQL_PASSWORD: test | |
MYSQL_DATABASE: discordmodbot | |
MYSQL_ROOT_PASSWORD: test | |
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 | |
- name: Setup Java JDK | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0 | |
with: | |
java-version: 17 | |
distribution: liberica | |
- name: Run Gradle check | |
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2.7.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 |