diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index a89aade..d8391e4 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -9,12 +9,11 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: head bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - uses: paambaati/codeclimate-action@v6.0.0 + - uses: paambaati/codeclimate-action@v9 with: coverageCommand: bundle exec rake debug: true diff --git a/.github/workflows/kotlin-tests.yml b/.github/workflows/kotlin-tests.yml index e5b1eed..6b3c10f 100644 --- a/.github/workflows/kotlin-tests.yml +++ b/.github/workflows/kotlin-tests.yml @@ -1,21 +1,23 @@ name: Kotlin Tests + on: push: branches: - main pull_request: + jobs: test: runs-on: ubuntu-latest # Assuming Kotlin projects can be built on Linux steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '11' distribution: 'adopt' - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3ce7655..cf81738 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' - ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', head] + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/swift-tests.yml b/.github/workflows/swift-tests.yml index 96235bc..fb75489 100644 --- a/.github/workflows/swift-tests.yml +++ b/.github/workflows/swift-tests.yml @@ -1,15 +1,17 @@ name: Swift Tests + on: push: branches: - main pull_request: + jobs: test: runs-on: macos-latest steps: - - uses: fwal/setup-swift@v1 - - uses: actions/checkout@v2 + - uses: swift-actions/setup-swift@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: bundler-cache: true # Runs 'bundle install' and caches installed gems automatically diff --git a/.rubocop.yml b/.rubocop.yml index 9fcc3ba..5b10749 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ inherit_from: .rubocop_todo.yml # Last reviewed on Aug 31st 2023, using RuboCop v1.56.1 -require: +plugins: - rubocop-rake - rubocop-rspec diff --git a/.ruby-version b/.ruby-version index 619b537..6cb9d3d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.3 +3.4.3 diff --git a/Gemfile.lock b/Gemfile.lock index f8b2c64..9408262 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,62 +9,64 @@ PATH GEM remote: https://rubygems.org/ specs: - ast (2.4.2) - diff-lcs (1.5.1) - docile (1.4.0) + ast (2.4.3) + diff-lcs (1.6.1) + docile (1.4.1) dotenv (2.8.1) - json (2.7.2) - language_server-protocol (3.17.0.3) - parallel (1.25.1) - parser (3.3.3.0) + json (2.11.3) + language_server-protocol (3.17.0.4) + lint_roller (1.1.0) + parallel (1.27.0) + parser (3.3.8.0) ast (~> 2.4.1) racc pastel (0.8.0) tty-color (~> 0.5) - racc (1.8.0) + prism (1.4.0) + racc (1.8.1) rainbow (3.1.1) rake (13.2.1) - regexp_parser (2.9.2) - rexml (3.3.0) - strscan + regexp_parser (2.10.0) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.3) rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) + rspec-expectations (3.13.4) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - rubocop (1.64.1) + rspec-support (3.13.3) + rubocop (1.75.5) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) - parser (>= 3.3.1.0) - rubocop-rake (0.6.0) - rubocop (~> 1.0) - rubocop-rspec (3.0.1) - rubocop (~> 1.61) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.44.1) + parser (>= 3.3.7.2) + prism (~> 1.4) + rubocop-rake (0.7.1) + lint_roller (~> 1.1) + rubocop (>= 1.72.1) + rubocop-rspec (3.6.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) ruby-progressbar (1.13.0) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) + simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - strscan (3.1.0) tty-color (0.6.0) tty-cursor (0.7.1) tty-prompt (0.23.1) @@ -75,12 +77,15 @@ GEM tty-screen (~> 0.8) wisper (~> 2.0) tty-screen (0.8.2) - unicode-display_width (2.5.0) + unicode-display_width (3.1.4) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) wisper (2.0.1) - yaml (0.3.0) + yaml (0.4.0) PLATFORMS arm64-darwin-23 + arm64-darwin-24 ruby x86_64-darwin-19 x86_64-linux