diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 636586e..5f087f0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,14 +1,26 @@ -on: - - push - - pull_request name: Unit test +on: + push: + branches: [master] + pull_request: + branches: [master] + schedule: + - cron: '0 0 1 * *' jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 3.2 test: + needs: ruby-versions runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - ruby: [ '3.2', '3.3', '3.4' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: head os: - windows-latest - ubuntu-latest