Skip to content

ci: go test: add workflow_dispatch #11

ci: go test: add workflow_dispatch

ci: go test: add workflow_dispatch #11

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.3', '3.2', 'jruby-head', 'ruby-head']
gemfile: ['Gemfile']
exclude:
- ruby: ruby-head
gemfile: activesupport-4.2.x
- ruby: jruby-head
gemfile: activesupport-4.2.x
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
name: Ruby ${{ matrix.ruby }} with ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake