Skip to content

Commit

Permalink
Add development workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 9, 2020
1 parent 2949dc7 commit 94d24aa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/development.yml
@@ -0,0 +1,29 @@
name: Development

on: [push]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, jruby, truffleruby]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- uses: actions/cache@v1
with:
path: vendor/bundle
key: bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-${{hashFiles('**/Gemfile')}}
restore-keys: |
bundle-use-ruby-${{matrix.os}}-${{matrix.ruby}}-
- name: Install dependencies...
run: |
sudo apt-get install libfcgi-dev libmemcached-dev
bundle config path vendor/bundle
bundle install
- run: bundle exec rake
2 changes: 2 additions & 0 deletions rack.gemspec
Expand Up @@ -42,5 +42,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'minitest', "~> 5.0"
s.add_development_dependency 'minitest-sprint'
s.add_development_dependency 'minitest-global_expectations'

s.add_development_dependency 'bundler'
s.add_development_dependency 'rake'
end

0 comments on commit 94d24aa

Please sign in to comment.