Bump puma from 6.4.0 to 6.4.3 #183
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: Main | |
on: [push, pull_request] | |
jobs: | |
base: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.1"] | |
name: Running tests with Ruby ${{ matrix.ruby }} | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_DB: triage_test | |
POSTGRES_PASSWORD: password | |
POSTGRES_USER: postgres | |
ports: ["5432:5432"] | |
env: | |
BUNDLE_GEMFILE: Gemfile | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Linting | |
run: | | |
bundle exec standardrb | |
- name: Setup database | |
run: | | |
cp config/database.ci.yml config/database.yml | |
RAILS_ENV=test bundle exec rake db:create db:schema:load | |
- name: Run tests | |
run: bin/rake test | |
- name: Ensure seed task still works | |
run: RAILS_ENV=test bin/rails db:seed | |