Skip to content

Commit

Permalink
Merge pull request #919 from fosterful/hint/chore/use-setup-selective
Browse files Browse the repository at this point in the history
Use setup-selective action
  • Loading branch information
benjaminwood authored Nov 21, 2023
2 parents c467999 + f0ffb31 commit cd9fb0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,9 @@ jobs:
ci_node_total: [4]
ci_node_index: [0, 1, 2, 3]

env:
SELECTIVE_API_KEY: ${{ secrets.SELECTIVE_API_KEY }}
SELECTIVE_RUN_ID: ${{ github.run_id }}
SELECTIVE_RUN_ATTEMPT: ${{ github.run_attempt }}
SELECTIVE_RUNNER_ID: ${{ matrix.ci_node_index }}
PR_TITLE: ${{ github.event.pull_request.title }}

steps:
- uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -83,6 +77,12 @@ jobs:
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Setup Selective
uses: selectiveci/setup-selective@v1
with:
api-key: ${{ secrets.SELECTIVE_API_KEY }}
runner-id: ${{ matrix.ci_node_index }}

- name: RSpec Suite Run
env:
NODE_OPTIONS: --openssl-legacy-provider
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
selective-ruby-core (0.1.2-x86_64-linux)
selective-ruby-core (0.1.3-x86_64-linux)
zeitwerk (~> 2.6.12)
selective-ruby-rspec (0.1.0)
selective-ruby-core
Expand Down

0 comments on commit cd9fb0b

Please sign in to comment.