Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby
name: Ruby Test n' Lint

on:
push:
Expand All @@ -24,20 +24,12 @@ jobs:
POSTGRES_DB: doubleup_test
ports: ["5432:5432"]

strategy:
matrix:
ruby-version: ["3.0"]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle install
- name: Setup Database
env:
RAILS_ENV: test
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.2.8
2 changes: 2 additions & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore:
- 'bundle/**/*'
14 changes: 7 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.0.0"
ruby "3.2.8"

gem "rails", "~> 6.1.3", ">= 6.1.3.1"
gem "puma", "~> 5.5"
gem "rails", "~> 7.0.0"
gem "puma"
gem "slack-ruby-client"
gem "bootsnap", ">= 1.4.4", require: false
gem "pg", "~> 1.2"
gem "bootsnap", require: false
gem "pg"
gem "bugsnag", "~> 6.24"
gem "sendgrid-actionmailer"

Expand All @@ -18,8 +18,8 @@ group :development, :test do
end

group :development do
gem "rack-mini-profiler", "~> 2.0"
gem "listen", "~> 3.3"
gem "rack-mini-profiler"
gem "listen"
end

group :test do
Expand Down
Loading