Skip to content

Commit 8b17e0f

Browse files
authored
chore: reduce codecov volume (#67)
Signed-off-by: Todd Baert <[email protected]>
1 parent c3c1222 commit 8b17e0f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
# - macos-latest
1818
# - windows-latest
1919
ruby:
20-
- "2.7"
21-
- "3.0"
22-
- "3.1"
2320
- "3.2"
21+
- "3.1"
22+
- "3.0"
23+
- "2.7"
2424
env:
2525
BUNDLE_GEMFILE: Gemfile
2626

@@ -33,8 +33,11 @@ jobs:
3333
- name: RSpec
3434
run: bundle exec rspec
3535
- name: Upload coverage to Codecov
36-
uses: codecov/codecov-action@8e29a53ea65f98e97f4ad4594d355d8e8fd5bcfe
36+
if: ${{ strategy.job-index == 0 }} # only run codecov on first run
37+
uses: codecov/codecov-action@c9e4b7326764720e2d95c3a9615d9e6ba7fc949f
3738
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
name: Ruby SDK
3841
fail_ci_if_error: true
3942
verbose: true
4043
file: coverage/coverage.xml

0 commit comments

Comments
 (0)