diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 22bf672..4c15155 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,14 +4,23 @@ 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 }} strategy: fail-fast: false matrix: - ruby: [ '4.0', '3.4', '3.3', '3.2', '3.1', '3.0', '2.7' ] + ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} + exclude: + - ruby: head postgres: [ '16', '15', '14', '13', '12' ] os: - ubuntu-latest