Skip to content

[CI] Add manual trigger #21

[CI] Add manual trigger

[CI] Add manual trigger #21

Workflow file for this run

name: ci
on:
push:
branches: [main]
paths-ignore: ['**.md', '.rubocop.yml']
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
paths-ignore: ['**.md', '.rubocop.yml']
workflow_dispatch:
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby-version: ['2.6', '2.7']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install protoc
uses: arduino/setup-protoc@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: bundle exec rake test