Skip to content

GitHub: add "add-to-project.yml" workflow #306

GitHub: add "add-to-project.yml" workflow

GitHub: add "add-to-project.yml" workflow #306

Workflow file for this run

name: Testing on Windows
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 1 * *'
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 3.1
build:
needs: ruby-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- ruby: head
os:
- windows-latest
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1.298.0
with:
ruby-version: ${{ matrix.ruby }}
- name: unit testing
env:
CI: true
run: |
bundle install --jobs 4 --retry 3
bundle exec rake test