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
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ on: [push, pull_request]
jobs:
base:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.2.9"]
name: Running tests with Ruby ${{ matrix.ruby }}
name: Tests
services:
postgres:
image: postgres:12
image: postgres:16
env:
POSTGRES_DB: triage_test
POSTGRES_PASSWORD: password
Expand All @@ -22,12 +18,11 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Linting
run: |
Expand All @@ -40,4 +35,3 @@ jobs:
run: bin/rake test
- name: Ensure seed task still works
run: RAILS_ENV=test bin/rails db:seed

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

.DS_Store
.rvmrc
.ruby-version
.ruby-gemset


Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.1
23 changes: 7 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,10 @@

source "https://rubygems.org"

git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end

ruby ">= 3.1", "< 3.3"

git_source :github do |name|
"https://github.com/#{name}.git"
end
ruby file: ".ruby-version"

# Core
if ENV["RAILS_MASTER"] == "1"
gem "rails", git: "https://github.com/rails/rails.git"
else
gem "rails", "7.0.8"
end
gem "rails", "8.1.2"

# API & Networking
gem "git_hub_bub"
Expand Down Expand Up @@ -91,7 +78,8 @@ gem "prawn"
gem "rack-mini-profiler"
gem "rails-autoscale-web"
gem "rbtrace"
gem "sentry-raven"
gem "sentry-ruby"
gem "sentry-rails"
gem "scout_apm"
gem "skylight"
gem "stackprof"
Expand All @@ -103,6 +91,7 @@ gem "sitemap_generator"
gem "aws-sdk-s3"

# Utilities
gem "ostruct" # Required for Ruby 4.0+
gem "rake"
gem "rrrretry"

Expand All @@ -120,6 +109,7 @@ group :test do
gem "capybara"
gem "launchy" # Not essential but helpful for save_and_open_page
gem "minitest"
gem "minitest-mock" # Required for minitest 6.0+
gem "mocha", require: false
gem "rails-controller-testing"
gem "simplecov", require: false
Expand All @@ -133,6 +123,7 @@ group :development, :test do
gem "dotenv-rails"
gem "faker", require: false
gem "pry"
gem "standard", ">= 1.35.1"
gem "standardrb", require: false
gem "rubocop-performance"
end
Loading