From ac7f305ac737275fdb8c7cdac03c38a4e90c70cb Mon Sep 17 00:00:00 2001 From: petergoldstein Date: Thu, 4 Jan 2024 23:23:22 -0500 Subject: [PATCH 1/2] Add Ruby 3.3 to CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59f2ea8..323cff3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.7", "3.0", "3.1", "3.2"] + ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] runs-on: ubuntu-latest steps: From dfc9394d43c110714932c62e4ce0a80735e1718d Mon Sep 17 00:00:00 2001 From: petergoldstein Date: Thu, 4 Jan 2024 23:26:21 -0500 Subject: [PATCH 2/2] Avoid explicit bundler call so we don't run into bundler version issues --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 323cff3..d5bbe5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,17 +10,13 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Ruby 2.7 + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install libsqlite3-dev + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install libsqlite3-dev - - - name: Install gem dependencies - run: gem install bundler && bundle install --jobs 4 --retry 3 --path vendor/bundle - - name: Run tests run: bundle exec rake test