From d7988206aeb6ad845ef85a6178c691c5bbf73f4a Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Tue, 4 Jun 2024 11:27:29 -0700 Subject: [PATCH 1/2] Migrate to new `spoom srb coverage` command --- .github/workflows/sorbet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sorbet.yml b/.github/workflows/sorbet.yml index af33a77c93..3f5b0b7908 100644 --- a/.github/workflows/sorbet.yml +++ b/.github/workflows/sorbet.yml @@ -31,7 +31,7 @@ jobs: bundle exec spoom srb bump --from=true --to=strict --dry bundle exec spoom srb bump --from=strict --to=strong --dry - - run: bundle exec spoom coverage timeline --save + - run: bundle exec spoom srb coverage snapshot --save - if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 From 0a46fb998b462a11ef68cf5f0407b1cadbb57460 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Tue, 4 Jun 2024 11:47:32 -0700 Subject: [PATCH 2/2] Missed a couple of instances --- .github/workflows/sorbet.yml | 2 +- script/generate-coverage-report | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sorbet.yml b/.github/workflows/sorbet.yml index 3f5b0b7908..dd2f6d6c06 100644 --- a/.github/workflows/sorbet.yml +++ b/.github/workflows/sorbet.yml @@ -24,7 +24,7 @@ jobs: - run: bundle exec srb tc - - run: bundle exec spoom coverage + - run: bundle exec spoom srb coverage - run: | bundle exec spoom srb bump --from=false --to=true --dry diff --git a/script/generate-coverage-report b/script/generate-coverage-report index ef7a7f1e6a..b70ee8bbb5 100755 --- a/script/generate-coverage-report +++ b/script/generate-coverage-report @@ -18,4 +18,4 @@ done echo Download complete echo Generating coverage report -bundle exec spoom coverage report +bundle exec spoom srb coverage report