From ad3466b6dfef31340d86814c9c34bbf0bc6a7a26 Mon Sep 17 00:00:00 2001 From: Nick Howes Date: Thu, 6 Jun 2024 17:48:06 +0100 Subject: [PATCH] CI action. It doesn't work on this branch, but it will. Soon! --- .github/workflows/ci.yml | 11 +++++++++++ .ruby-version | 1 + 2 files changed, 12 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .ruby-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..70d56fc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,11 @@ +name: Build +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - run: bundle exec rake spec \ No newline at end of file diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..8122ad0 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.8 \ No newline at end of file