Prevent race condition when saving file during initial indexing #1032
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI (indexing) | |
on: | |
push: | |
paths: | |
- 'Gemfile.lock' | |
- 'lib/ruby_indexer/**' | |
pull_request: | |
paths: | |
- 'Gemfile.lock' | |
- 'lib/ruby_indexer/**' | |
jobs: | |
indexing_sanity_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Index Top 100 Ruby gems | |
run: bundle exec rake index:topgems |