diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bd53c25..6a00c78 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,13 +4,23 @@ on: branches: - master pull_request: + schedule: + - cron: '0 0 1 * *' jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 3.2 build: + 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: - ubuntu-latest name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5a1b64f..3372544 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,13 +4,23 @@ on: branches: - master pull_request: + schedule: + - cron: '0 0 1 * *' jobs: + ruby-versions: + uses: ruby/actions/.github/workflows/ruby_versions.yml@master + with: + engine: cruby + min_version: 3.2 build: + 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 name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}