From fc30a080ff1c32b1d2a8468e1d33f66e449b6000 Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Tue, 16 Sep 2025 08:52:33 +0200 Subject: [PATCH] create ruby workflow (#74) * create ruby workflow * add step for dependencies * bump ruby version * Set up Ruby action in web directory --- .github/workflows/ruby.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..cd35a7c --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,33 @@ +name: Ruby + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + test: + defaults: + run: + working-directory: ./web + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: ['3.3', '3.4'] + + steps: + - uses: actions/checkout@v5 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + working-directory: ./web + - name: Set up dependencies + run: bundle install + - name: Run tests + run: bundle exec rspec