From 46346bc2631a193b732ec1a1aba97dae672c2ad2 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Mon, 22 Jul 2024 12:53:15 -0400 Subject: [PATCH] Add a simple github-actions workflow --- .github/workflows/ci.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..5264cc3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + pull_request: + workflow_dispatch: + schedule: + - cron: 0 0 * * 0 + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: + - '2.7' + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + timeout-minutes: 30 + - name: Run tests + run: bundle exec rake