Skip to content

Commit

Permalink
Adds GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-zubov committed Apr 5, 2023
1 parent 1bf91d6 commit 4119595
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 257 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Ruby Gem

on:
push:
branches: [ "master" ]
pull_request:
types: [ opened, synchronize, reopened, edited, ready_for_review ]

jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
ruby-version: ['2.7']

steps:
- uses: actions/checkout@v3
- 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@ee2113536afb7f793eed4ce60e8d3b26db912da4 # v1.127.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install Appraisal dependencies
run: bundle exec appraisal install
- name: Run Appraisals
run: bundle exec appraisal rake
12 changes: 0 additions & 12 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
appraise "rails-4.1" do
gem "rails", "~> 4.1.0"
gem 'test-unit', '~> 3.0'
gem 'sprockets', '~> 3.7'
end

appraise "rails-4.2" do
gem "rails", "~> 4.2.0"
gem 'test-unit', '~> 3.0'
gem 'sprockets', '~> 3.7'
end

appraise "rails-5.0" do
gem "rails", "~> 5.0.0"
gem 'test-unit', '~> 3.0'
Expand Down
10 changes: 0 additions & 10 deletions gemfiles/rails_4.1.gemfile

This file was deleted.

100 changes: 0 additions & 100 deletions gemfiles/rails_4.1.gemfile.lock

This file was deleted.

10 changes: 0 additions & 10 deletions gemfiles/rails_4.2.gemfile

This file was deleted.

125 changes: 0 additions & 125 deletions gemfiles/rails_4.2.gemfile.lock

This file was deleted.

0 comments on commit 4119595

Please sign in to comment.