Skip to content

Commit

Permalink
update ruby version and add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmeneghello committed Jul 30, 2024
1 parent 76a0e22 commit 3d3b138
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 31 deletions.
28 changes: 0 additions & 28 deletions .circleci/config.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
- push

jobs:
test:
runs-on: ubicloud

steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.3.0
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: 3.3.0

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.7
3.3.0
1 change: 0 additions & 1 deletion CampMinder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ Gem::Specification.new do |spec|
spec.add_dependency "active_model_serializers", "= 0.9.2"
spec.add_dependency "loofah", "~> 2.3"
spec.add_dependency "nokogiri", "~> 1.6"
spec.add_dependency "sprockets", "~> 3.7.2" # for security - https://blog.heroku.com/rails-asset-pipeline-vulnerability
spec.add_dependency "virtus", "~> 1.0"
end
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.1.4
2.4.3

0 comments on commit 3d3b138

Please sign in to comment.