Skip to content

Commit 86c8ba6

Browse files
authored
Merge pull request #226 from Shopify/andyw8/rm-gemfile-lock-for-head
Remove Gemfile.lock for Ruby head
2 parents 27009dd + 7a31bdd commit 86c8ba6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
gemfile:
1313
- Gemfile
14-
- gemfiles/Gemfile-rails-main
14+
- Gemfile-rails-main
1515
ruby: ["3.0", "3.1", "3.2", "3.3", "head"]
1616
include:
1717
- ruby: "head"
1818
experimental: true
19-
- gemfile: "gemfiles/Gemfile-rails-main"
19+
- gemfile: "Gemfile-rails-main"
2020
experimental: true
2121
exclude:
2222
- os: "windows-latest"
@@ -28,8 +28,8 @@ jobs:
2828
- uses: actions/checkout@v3
2929

3030
- name: Remove Gemfile.lock
31-
if: matrix.os == 'windows-latest' && matrix.ruby == '3.1'
32-
run: rm Gemfile.lock
31+
if: (matrix.ruby == 'head' ) || (matrix.os == 'windows-latest' && matrix.ruby == '3.1')
32+
run: "rm ${{ matrix.gemfile }}.lock
3333
3434
- name: Set up Ruby
3535
uses: ruby/setup-ruby@v1
File renamed without changes.

0 commit comments

Comments
 (0)