From 973246ed33db945facd5f8853cb8e023fa3fa9bc Mon Sep 17 00:00:00 2001 From: Jonas Renggli Date: Tue, 8 Aug 2023 11:06:42 +0200 Subject: [PATCH] ci: Add basic GitHub Action for Ruby This change adds a basic GitHub Action workflow based on the documentation https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-ruby --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..5aa6b8c --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: Ruby + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1 + with: + #bundler-cache: true + ruby-version: '3.1' + - name: Install dependencies + run: bundle install + - name: Run sitediff version + run: ./bin/sitediff version