From 53849f4b91743917f9f6f435bd164a5f84a553da Mon Sep 17 00:00:00 2001 From: Raffaele Di Fazio Date: Mon, 20 Jan 2020 19:33:10 +0100 Subject: [PATCH] Adds CI with actions --- .github/workflows/ruby.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ruby.yml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..a57f444 --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,20 @@ +name: Ruby + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up Ruby 2.5.7 + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.5.7 + - name: Build and test + run: | + gem install bundler:1.16.1 + bundle install + bin/rspec