From 3f4d8a3344299711775619b865bc772a6156e1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 11 Sep 2023 19:08:12 +0000 Subject: [PATCH] Add CI config --- .github/workflows/ci.yml | 15 +++++++++++++++ Gemfile | 1 + Gemfile.lock | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c674acb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,15 @@ +name: CI + +on: push + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: rm Gemfile.lock + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0.3 + bundler-cache: true + - run: bundle exec rake ci diff --git a/Gemfile b/Gemfile index 239879a..4bf9331 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,4 @@ gemspec gem "sprockets", "< 4" gem "sprockets-rails" gem "puma" +gem "webrick" diff --git a/Gemfile.lock b/Gemfile.lock index f2209a8..30a8476 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -209,6 +209,7 @@ GEM timeout (0.4.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) + webrick (1.8.1) websocket (1.2.9) websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) @@ -238,6 +239,7 @@ DEPENDENCIES teaspoon-mocha thin turbograft! + webrick BUNDLED WITH 2.4.8