diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ac471ef --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index 80d5525..3b768df 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/msgpack/msgpack-ruby.git - revision: 51d899abd86c773e796427a296063d50d17ee10d + revision: ea20842ea732f4d625fd30c7b8f67655d73652f2 specs: msgpack (1.4.2) @@ -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) @@ -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) @@ -65,10 +65,10 @@ DEPENDENCIES byebug minitest (~> 5.0) msgpack! + paquito! rake (~> 13.0) rubocop rubocop-shopify (~> 2.0) - paquito! sorbet-runtime sqlite3