diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b064801..6b8bfe0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: # set LINT to explicitly request rubocop as a dependency. LINT: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 1b35889..36d01d3 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: test-latest: - name: "Active Record 7.1 + Ruby 3.2" + name: "Active Record 7.1 + Ruby 3.3" runs-on: ubuntu-latest services: mysql: @@ -23,10 +23,10 @@ jobs: env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-7.1.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2" + ruby-version: "3.3" bundler-cache: true - name: Prepare the database run: | @@ -63,15 +63,15 @@ jobs: - 3306:3306 strategy: matrix: - ruby: ["3.0", "3.1", "3.2"] + ruby: ["3.0", "3.1", "3.2", "3.3"] active_record: ["6.1", "7.0", "7.1"] exclude: - - ruby: "3.2" + - ruby: "3.3" active_record: "7.1" env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} @@ -128,7 +128,7 @@ jobs: env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/.github/workflows/postgresql.yml b/.github/workflows/postgresql.yml index 6cd8f98..9231e0d 100644 --- a/.github/workflows/postgresql.yml +++ b/.github/workflows/postgresql.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: test-latest: - name: "Active Record 7.1 + Ruby 3.2" + name: "Active Record 7.1 + Ruby 3.3" runs-on: ubuntu-latest services: postgres: @@ -22,10 +22,10 @@ jobs: env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-7.1.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2" + ruby-version: "3.3" bundler-cache: true - name: Prepare PostgreSQL run: createdb active_record_doctor_secondary @@ -63,15 +63,15 @@ jobs: - 5432:5432 strategy: matrix: - ruby: ["3.0", "3.1", "3.2"] + ruby: ["3.0", "3.1", "3.2", "3.3"] active_record: ["6.1", "7.0", "7.1"] exclude: - - ruby: "3.2" + - ruby: "3.3" active_record: "7.1" env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} @@ -130,7 +130,7 @@ jobs: env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.activerecord-${{ matrix.active_record }}.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/active_record_doctor.gemspec b/active_record_doctor.gemspec index f240472..dea376f 100644 --- a/active_record_doctor.gemspec +++ b/active_record_doctor.gemspec @@ -24,10 +24,10 @@ Gem::Specification.new do |s| s.add_development_dependency "minitest-fork_executor", "~> 1.0.2" s.add_development_dependency "mysql2", "~> 0.5.3" - s.add_development_dependency "pg", "~> 1.1.4" + s.add_development_dependency "pg", "~> 1.5.6" s.add_development_dependency "railties", ACTIVE_RECORD_SPEC s.add_development_dependency "rake", "~> 12.3.3" - s.add_development_dependency "transient_record", "= 2.0.0.rc2" + s.add_development_dependency "transient_record", "~> 2.0.0" # We don't install rubocop in CI because we test against older Rubies that # are incompatible with Rubocop.