Skip to content

Commit 54f9105

Browse files
committed
Set BUNDLE_GEMFILE on job
1 parent c20e5aa commit 54f9105

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,18 @@ on:
1515

1616
jobs:
1717
test:
18-
1918
runs-on: ubuntu-latest
2019
strategy:
2120
fail-fast: false
2221
matrix:
2322
ruby-version: ['2.7', '3.1', '3.2']
2423
gemfile: [ rails_6.1, rails_7.0 ]
25-
24+
env:
25+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
2626
steps:
2727
- uses: actions/checkout@v2
2828
- name: Set up Ruby
2929
uses: ruby/setup-ruby@v1
30-
env:
31-
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
3230
with:
3331
ruby-version: ${{ matrix.ruby-version }}
3432
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH
2-
remote: ..
2+
remote: .
33
specs:
44
rpi_auth (3.4.0)
55
omniauth-rails_csrf_protection (~> 1.0.0)

0 commit comments

Comments
 (0)