From 80ce51ef6b588c3f92dedc88bc46bc742d4558bc Mon Sep 17 00:00:00 2001 From: Jon Stairs Date: Tue, 3 Sep 2024 13:45:51 -0400 Subject: [PATCH 1/3] chore(): Update breaking change in the upload artifact to include hidden files --- .github/workflows/tests.yml | 66 ++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dda2c25..e296427 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,40 +7,40 @@ jobs: name: rspec tests runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v4 - - - name: Install Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.2.2 - bundler-cache: true - - - name: Run rspec tests - run: | - bundle exec rspec - - - - name: Upload coverage results - uses: actions/upload-artifact@v3 - with: - name: coverage-results - path: coverage - retention-days: 5 - + - name: Check out code + uses: actions/checkout@v4 + + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.2.2 + bundler-cache: true + + - name: Run rspec tests + run: | + bundle exec rspec + + + - name: Upload coverage results + uses: actions/upload-artifact@v3 + with: + include-hidden-files: 'true' + name: coverage-results + path: coverage + retention-days: 5 coverage: needs: rspec runs-on: ubuntu-latest steps: - - name: Download coverage results - uses: actions/download-artifact@v3 - with: - name: coverage-results - path: coverage - - - name: Simplecov Report - uses: aki77/simplecov-report-action@7fd5fa551dd583dd437a11c640b2a1cf23d6cdaa # v1.5.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - failedThreshold: 100 - resultPath: coverage/.last_run.json + - name: Download coverage results + uses: actions/download-artifact@v3 + with: + name: coverage-results + path: coverage + + - name: Simplecov Report + uses: aki77/simplecov-report-action@7fd5fa551dd583dd437a11c640b2a1cf23d6cdaa # v1.5.2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + failedThreshold: 100 + resultPath: coverage/.last_run.json From 17b07abe53d3880ed5089b0cc8f2d357a54fcd7b Mon Sep 17 00:00:00 2001 From: Jon Stairs Date: Tue, 3 Sep 2024 15:22:13 -0400 Subject: [PATCH 2/3] chore(): Bump the rubocop version Signed-off-by: Jon Stairs --- Gemfile.lock | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 196d40a..886bcf3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ GEM specs: ansi (1.5.0) ast (2.4.2) - base64 (0.1.1) + base64 (0.2.0) coderay (1.1.3) diff-lcs (1.5.0) docile (1.4.0) @@ -20,7 +20,7 @@ GEM ruby2_keywords (>= 0.0.4) faraday-net_http (3.0.2) hashie (5.0.0) - json (2.6.3) + json (2.7.2) jwt (2.7.1) language_server-protocol (3.17.0.3) method_source (1.0.0) @@ -39,21 +39,20 @@ GEM omniauth-oauth2 (1.8.0) oauth2 (>= 1.4, < 3) omniauth (~> 2.0) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.26.3) + parser (3.3.4.2) ast (~> 2.4.1) racc pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - racc (1.7.1) + racc (1.8.1) rack (2.2.8) rack-protection (3.1.0) rack (~> 2.2, >= 2.2.4) rainbow (3.1.1) rake (13.0.6) - regexp_parser (2.8.1) - rexml (3.2.6) + regexp_parser (2.9.2) rspec (3.9.0) rspec-core (~> 3.9.0) rspec-expectations (~> 3.9.0) @@ -67,20 +66,18 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) rspec-support (3.9.4) - rubocop (1.56.3) - base64 (~> 0.1.1) + rubocop (1.66.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + 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.28.1, < 2.0) + regexp_parser (>= 2.4, < 3.0) + rubocop-ast (>= 1.32.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) + rubocop-ast (1.32.2) + parser (>= 3.3.1.0) rubocop-capybara (2.19.0) rubocop (~> 1.41) rubocop-factory_bot (2.24.0) @@ -109,7 +106,7 @@ GEM version_gem (~> 1.1, >= 1.1.1) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) version_gem (1.1.3) PLATFORMS @@ -128,4 +125,4 @@ DEPENDENCIES simplecov-console (~> 0.9) BUNDLED WITH - 2.4.19 + 2.4.10 From b7587c7db1c554076738f68ee2790d7b68c52d74 Mon Sep 17 00:00:00 2001 From: Jon Stairs Date: Tue, 3 Sep 2024 15:47:43 -0400 Subject: [PATCH 3/3] use bundler 2.10.19 Signed-off-by: Jon Stairs --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 886bcf3..0361ead 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -125,4 +125,4 @@ DEPENDENCIES simplecov-console (~> 0.9) BUNDLED WITH - 2.4.10 + 2.4.19