diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18909cf..a8e924a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,14 +4,24 @@ on: 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.1 build: + needs: ruby-versions runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: ['ubuntu-latest'] - ruby: [ '3.4', '3.3', '3.2', '3.1' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: head name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }} steps: