From 41b544986b64f2d2b2312811e1d57c84518610cb Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 14 Sep 2023 13:52:51 -0700 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2fdc6d..6a17e96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 + with: + ruby-version: head - name: Install requirements run: | bundle update --bundler @@ -16,4 +18,6 @@ jobs: - name: Run tests and collect coverage run: bundle exec rspec - name: Upload coverage reports to Codecov with GitHub Action - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }} From 6cfbf98aa0f068155c849acb3f9c4f931faecf77 Mon Sep 17 00:00:00 2001 From: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> Date: Thu, 14 Sep 2023 13:57:45 -0700 Subject: [PATCH 2/3] Update .github/workflows/ci.yml --- .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 6a17e96..baed853 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: head + ruby-version: 3.2.2 - name: Install requirements run: | bundle update --bundler From 827a1f059d2c2c03c713aed37357f3b2ba2cb884 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 13:58:37 -0700 Subject: [PATCH 3/3] fix: update ruby version --- .ruby-version | 2 +- Gemfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ruby-version b/.ruby-version index 71e447d..9e79f6c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.1.4 +ruby-3.2.2 diff --git a/Gemfile b/Gemfile index cc57dd2..490c984 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.1.4" +ruby "3.2.2" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.8"