From 5c837cad4569e42982c790fd6b1796859f3bb044 Mon Sep 17 00:00:00 2001 From: tknzk Date: Mon, 2 Dec 2019 09:50:07 +0900 Subject: [PATCH 1/2] ruby 2.6.5, add github workflows --- .circleci/config.yml | 2 +- .github/workflows/ruby.yml | 23 +++++++++++++++++++++++ .ruby-version | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ruby.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 8ad77017..4b2e333d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 jobs: ruby-2.6: docker: - - image: ruby:2.6.3 + - image: ruby:2.6.5 steps: - checkout - run: diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 00000000..c4e54453 --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,23 @@ +name: Ruby + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Ruby 2.6 + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6.x + - name: Build and test + run: | + gem install bundler -v 1.17.3 + git submodule init + git submodule update + bundle install + bundle exec rubocop + bundle exec rake diff --git a/.ruby-version b/.ruby-version index ec1cf33c..57cf282e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.3 +2.6.5 From a8a745cbca1caf5c8a9ac03d2b6b4f9503d25170 Mon Sep 17 00:00:00 2001 From: tknzk Date: Mon, 2 Dec 2019 09:55:20 +0900 Subject: [PATCH 2/2] remove github workflow --- .github/workflows/.keep | 0 .github/workflows/ruby.yml | 23 ----------------------- 2 files changed, 23 deletions(-) create mode 100644 .github/workflows/.keep delete mode 100644 .github/workflows/ruby.yml diff --git a/.github/workflows/.keep b/.github/workflows/.keep new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml deleted file mode 100644 index c4e54453..00000000 --- a/.github/workflows/ruby.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Ruby - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 - with: - ruby-version: 2.6.x - - name: Build and test - run: | - gem install bundler -v 1.17.3 - git submodule init - git submodule update - bundle install - bundle exec rubocop - bundle exec rake