Skip to content

[ci-cd] Fix ruby matrix setup. #79

[ci-cd] Fix ruby matrix setup.

[ci-cd] Fix ruby matrix setup. #79

Workflow file for this run

name: Integration
on:
pull_request:
branches:
- master
workflow_call:
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.1']
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: act10ns/slack@v1
with:
status: starting
channel: '#opensource-cicd'
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
with:
ruby-version: ${{ matrix.ruby-version }}
- id: show-ruby-version
run: ruby --version
- id: tests
run: make tests
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#opensource-cicd'
if: always()