Skip to content

Commit

Permalink
Use proper branch name for PR workflows in CI (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson authored Jan 22, 2023
1 parent 07fb101 commit 66a5208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ global_job_config:
- checkout
- export SEM_RUBY=${SEM_RUBY:-3.2.0}
- sem-version ruby $SEM_RUBY
- cache restore "gems-${SEM_RUBY}-${SEMAPHORE_GIT_BRANCH}-,gems-${SEM_RUBY}-main-"
- cache restore "gems-${SEM_RUBY}-${SEMAPHORE_GIT_WORKING_BRANCH}-,gems-${SEM_RUBY}-main-"
- bundle check || bundle install
- cache store "gems-${SEM_RUBY}-${SEMAPHORE_GIT_BRANCH}-$(checksum Gemfile.lock)" vendor/bundle
- cache store "gems-${SEM_RUBY}-${SEMAPHORE_GIT_WORKING_BRANCH}-$(checksum Gemfile.lock)" vendor/bundle
blocks:
- name: Rubocop
dependencies: []
Expand Down

0 comments on commit 66a5208

Please sign in to comment.