Skip to content

chore(deps): bump puma from 6.4.3 to 6.5.0 #1402

chore(deps): bump puma from 6.4.3 to 6.5.0

chore(deps): bump puma from 6.4.3 to 6.5.0 #1402

Workflow file for this run

name: Run tests
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- "*"
tags:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb:10
env:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.6
bundler-cache: true
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- name: Install JavaScript dependencies
run: |
npm install -g yarn
yarn --frozen-lockfile
- name: Setup database
run: |
cp config/database.yml.mysql config/database.yml
mysql -u root -h 127.0.0.1 -e 'create database imgshr_test;'
- name: Test database migrations
env:
RAILS_ENV: test
TZ: Europe/Berlin
run: |
bundle exec rails db:migrate
- name: Test webpack bundling
run: |
bundle exec ./bin/webpack
- name: Run Rails tests
env:
RAILS_ENV: test
TZ: Europe/Berlin
run: |
bundle exec rails test
- name: Lint JavaScript code
run: |
yarn lint