Skip to content

Chore(deps-dev): Bump prettier from 3.4.2 to 3.5.1 #3224

Chore(deps-dev): Bump prettier from 3.4.2 to 3.5.1

Chore(deps-dev): Bump prettier from 3.4.2 to 3.5.1 #3224

Workflow file for this run

name: "test"
on:
pull_request:
push:
branches:
- main
- "releases/*"
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
timeout-minutes: 15
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run test
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-24.04-arm
- ubuntu-22.04-arm
- macos-15
- macos-14
- macos-13
- windows-2025
- windows-2022
- windows-2019
mysql:
- "9.2"
- "8.4" # LTS
- "8.0"
- "mariadb-11.7"
- "mariadb-11.6"
- "mariadb-11.4" # LTS
- "mariadb-10.11" # LTS
- "mariadb-10.6" # LTS
- "mariadb-10.5" # LTS
timeout-minutes: 15
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: "5.40"
- run: npm ci
- run: npm run build
- name: use the action
id: action
uses: ./
with:
mysql-version: ${{ matrix.mysql }}
root-password: very-very-secret
user: my
password: secret
- name: test
run: |
prove -v t
env:
MYSQL_VERSION: ${{ matrix.mysql }}
BASE_DIR: ${{ steps.action.outputs.base-dir }}
# https://github.com/shogo82148/actions-setup-mysql/issues/421
test-issue421:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
- run: npm ci
- run: npm run build
- name: use the action
id: action
uses: ./
with:
mysql-version: "8.3"
root-password: very-very-secret
user: my
password: secret
my-cnf: |
port=5729
authentication_policy=mysql_native_password
sql_mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"