From 7fda0c88ce4d5d590ce65d4c786b81813047e24b Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 13 Feb 2025 09:13:46 -0600 Subject: [PATCH 1/4] CI: ci.yml - add workflow_dispatch, allows manual CI runs --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a320273..02359f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ name: CI on: - push - pull_request + - workflow_dispatch jobs: test: From b8fc1952b84465e7b3332530a5df08c78b2ff68a Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 13 Feb 2025 09:25:53 -0600 Subject: [PATCH 2/4] CI: ci.yml - add Ruby 3.4, remove 'continue-on-error' for Ruby head --- .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 02359f5..71e5d1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: - 3.1 - 3.2 - 3.3 + - 3.4 - head steps: - name: Checkout code @@ -31,4 +32,3 @@ jobs: run: bundle exec standardrb - name: test run: bundle exec rake test - continue-on-error: ${{ matrix.ruby == 'head' }} From 920774208f7d79793dfa473ef3c0367b9f16cc7a Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 13 Feb 2025 09:24:08 -0600 Subject: [PATCH 3/4] Gemfile - add 'ostruct' for Ruby 3.5 and later --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index b27d851..a796760 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,7 @@ gem "sys-proctable" gemspec gem "standard" + +if RUBY_VERSION >= "3.5.0" + gem "ostruct" +end From 4d794fbef6db2dc58a1acb6d7a3cd3407539f222 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 13 Feb 2025 09:50:56 -0600 Subject: [PATCH 4/4] CI: ci.yml - quote 3.0, otherwise yaml parser interprets it as '3' --- .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 71e5d1e..fcb4ab5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: ruby: - 2.6 - 2.7 - - 3.0 + - '3.0' - 3.1 - 3.2 - 3.3