From 9a95e8f777498ab7233321f60e8fbb8e13ffc8fa Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Mon, 29 Jul 2019 15:34:10 -0700 Subject: [PATCH 1/4] add in Ruby --- ci/ruby.properties.json | 6 ++++++ ci/ruby.yml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ci/ruby.properties.json create mode 100644 ci/ruby.yml diff --git a/ci/ruby.properties.json b/ci/ruby.properties.json new file mode 100644 index 0000000..a2d6f84 --- /dev/null +++ b/ci/ruby.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Ruby", + "description": "Build and test a Ruby project with Rake.", + "iconName": "ruby", + "category": "Ruby" +} \ No newline at end of file diff --git a/ci/ruby.yml b/ci/ruby.yml new file mode 100644 index 0000000..b756c68 --- /dev/null +++ b/ci/ruby.yml @@ -0,0 +1,19 @@ +name: Ruby +on: [push] +jobs: + + build: + name: Build + runs-on: ubuntu-latest + actions: + + - name: Set up Ruby 2.6 + uses: actions/setup-ruby@master + with: + version: 2.6.x + + - name: Build and test with Rake + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rake From 961d4c73bdf2463ad7cefec39d5bddc1b602f573 Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Mon, 29 Jul 2019 15:36:33 -0700 Subject: [PATCH 2/4] actions to steps --- ci/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ruby.yml b/ci/ruby.yml index b756c68..162ae7c 100644 --- a/ci/ruby.yml +++ b/ci/ruby.yml @@ -5,7 +5,7 @@ jobs: build: name: Build runs-on: ubuntu-latest - actions: + steps: - name: Set up Ruby 2.6 uses: actions/setup-ruby@master From e01ac78ccd8b11e0b01ab090a546c6a0cebcf3b5 Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Mon, 29 Jul 2019 16:18:43 -0700 Subject: [PATCH 3/4] update the category --- ci/ruby.properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/ruby.properties.json b/ci/ruby.properties.json index a2d6f84..59607b9 100644 --- a/ci/ruby.properties.json +++ b/ci/ruby.properties.json @@ -2,5 +2,5 @@ "name": "Ruby", "description": "Build and test a Ruby project with Rake.", "iconName": "ruby", - "category": "Ruby" + "category": ["Ruby"] } \ No newline at end of file From 58deb538c4e1e0dd48ba0ec1a48e895f4a8ac4d5 Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Tue, 30 Jul 2019 08:17:08 -0700 Subject: [PATCH 4/4] add in checkout step --- ci/ruby.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/ruby.yml b/ci/ruby.yml index 162ae7c..d2c9bdf 100644 --- a/ci/ruby.yml +++ b/ci/ruby.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@master + - name: Set up Ruby 2.6 uses: actions/setup-ruby@master with: