From edc4e95c141d4d056b454bfd3b9fefe98cd1a77c Mon Sep 17 00:00:00 2001 From: raimon Date: Sat, 3 Oct 2020 19:51:45 +0900 Subject: [PATCH] Add YAML file for use GitHub Actions --- .github/workflows/ruby.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..1df093e --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,23 @@ +name: Ruby + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Install dependencies + run: bundle install + - name: Run tests + run: bundle exec rake ci