Skip to content

Commit

Permalink
Setup GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Oct 7, 2021
1 parent de6d4ea commit c320103
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: [push, pull_request]

jobs:
rubies:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ ruby-head, '3.0', '2.7' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
rm Gemfile.lock
bundle install
- name: Run test
run: bundle exec rake
- name: Install gem
run: bundle exec rake install
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/msgpack/msgpack-ruby.git
revision: 51d899abd86c773e796427a296063d50d17ee10d
revision: ea20842ea732f4d625fd30c7b8f67655d73652f2
specs:
msgpack (1.4.2)

Expand Down Expand Up @@ -36,7 +36,7 @@ GEM
rake (13.0.6)
regexp_parser (2.1.1)
rexml (3.2.5)
rubocop (1.22.0)
rubocop (1.22.1)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
Expand All @@ -47,10 +47,10 @@ GEM
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.12.0)
parser (>= 3.0.1.1)
rubocop-shopify (2.2.0)
rubocop (~> 1.18)
rubocop-shopify (2.3.0)
rubocop (~> 1.22)
ruby-progressbar (1.11.0)
sorbet-runtime (0.5.9174)
sorbet-runtime (0.5.9209)
sqlite3 (1.4.2)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
Expand All @@ -65,10 +65,10 @@ DEPENDENCIES
byebug
minitest (~> 5.0)
msgpack!
paquito!
rake (~> 13.0)
rubocop
rubocop-shopify (~> 2.0)
paquito!
sorbet-runtime
sqlite3

Expand Down

0 comments on commit c320103

Please sign in to comment.