From 51e357c9531cc46f0a05a1705fd341056578b556 Mon Sep 17 00:00:00 2001 From: Tina Wuest Date: Tue, 6 Aug 2024 12:50:54 +0300 Subject: [PATCH 1/2] Remove EOL Ruby 3.0 from test matrix --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 92e57b1..cac7d7e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ 'ubuntu-20.04', 'ubuntu-22.04' ] - ruby-version: ['3.0', '3.1', '3.2', '3.3'] + ruby-version: ['3.1', '3.2', '3.3'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From b68b5550ffb1169d3eb7800ff66d461ca36b397f Mon Sep 17 00:00:00 2001 From: Tina Wuest Date: Tue, 6 Aug 2024 13:08:41 +0300 Subject: [PATCH 2/2] Test slimmed down CI job (only run rubocop once) --- .github/workflows/ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cac7d7e..35f62f9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,5 +28,18 @@ jobs: bundler-cache: true - name: Run tests run: bundle exec rake + lint: + strategy: + matrix: + os: [ 'ubuntu-22.04' ] + ruby-version: ['3.3'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true - name: Rubocop run: bundle exec rubocop