From fc343ecf1a9d73b10ed636518ea510a91551d494 Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Tue, 18 Nov 2025 13:52:41 -0500 Subject: [PATCH 1/4] Loosely specify Ruby versions in CI --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a81f7f..d5742fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ["3.2.2", "3.3.9", "3.4.0", "3.5.0-preview1"] - experimental: [false] + ruby-version: ["3.2", "3.3", "3.4", "3.5.0-preview1"] steps: - uses: actions/checkout@v5 - name: Set up Ruby From bf2353e363d7fbcff9987e578c42fa1202dbf0c0 Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Tue, 18 Nov 2025 13:55:14 -0500 Subject: [PATCH 2/4] Remove Gemfile.lock from repo --- Gemfile.lock | 74 ---------------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index d8fcb91..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,74 +0,0 @@ -PATH - remote: . - specs: - git-fastclone (1.5.1) - colorize - -GEM - remote: https://rubygems.org/ - specs: - ast (2.4.3) - colorize (1.1.0) - diff-lcs (1.6.2) - json (2.15.0) - language_server-protocol (3.17.0.5) - lint_roller (1.1.0) - logger (1.7.0) - parallel (1.27.0) - parser (3.3.9.0) - ast (~> 2.4.1) - racc - prism (1.5.1) - racc (1.8.1) - rainbow (3.1.1) - rake (13.3.0) - regexp_parser (2.11.3) - rspec (3.13.1) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.5) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.5) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-mocks (3.13.5) - diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.13.0) - rspec-support (3.13.6) - rubocop (1.81.1) - json (~> 2.3) - 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 (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.47.1, < 2.0) - ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.47.1) - parser (>= 3.3.7.2) - prism (~> 1.4) - ruby-progressbar (1.13.0) - unicode-display_width (3.2.0) - unicode-emoji (~> 4.1) - unicode-emoji (4.1.0) - -PLATFORMS - arm64-darwin-22 - arm64-darwin-23 - arm64-darwin-24 - x64-mingw-ucrt - x86_64-linux - -DEPENDENCIES - bundler - git-fastclone! - logger - rake - rspec - rubocop - -BUNDLED WITH - 2.5.22 From 3b21bc80427193d34e5d8ab7a832e26cb091ed2c Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Tue, 18 Nov 2025 13:57:00 -0500 Subject: [PATCH 3/4] Include macos runner --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5742fe..5532afb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,12 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} strategy: fail-fast: false matrix: ruby-version: ["3.2", "3.3", "3.4", "3.5.0-preview1"] + runner: [macos-latest, ubuntu-latest] steps: - uses: actions/checkout@v5 - name: Set up Ruby From 8ac1cba262d178d97a71e79e7755ba4d49ef846c Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Tue, 18 Nov 2025 14:11:00 -0500 Subject: [PATCH 4/4] Restrict GITHUB_TOKEN permissions --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5532afb..009afa2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: CI +permissions: + contents: read + on: push: branches: [master]