Skip to content

Gitlab actions demo

Gitlab actions demo #2

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: ['**']
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run all tests
run: bundle exec rake test