Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Mar 1, 2024
1 parent 194fc38 commit e3d1f79
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Ruby

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
build:
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle exec rake
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
source 'https://rubygems.org'

gemspec

# we need https://github.com/chrisk/fakeweb/commit/61f52b597286cdeab0bb6f56c3b40cd34e9fc380
gem "fakeweb", github: "chrisk/fakeweb"
1 change: 0 additions & 1 deletion createsend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'hashie', '~> 3.0'
s.add_runtime_dependency 'httparty', '~> 0.14'
s.add_development_dependency 'rake', '~> 12.3.3'
s.add_development_dependency 'fakeweb', '~> 1.3'
s.add_development_dependency 'jnunemaker-matchy', '~> 0.4'
s.add_development_dependency 'shoulda-context', '~> 1.2'
s.add_development_dependency 'simplecov', '~> 0'
Expand Down

0 comments on commit e3d1f79

Please sign in to comment.