diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 36c0df4..448d94a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.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: 2.7 build: + needs: ruby-versions runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: - ruby: [ '3.4', '3.3', '3.2', '3.1', '3.0', '2.7' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: head os: - ubuntu-latest experimental: [false]