Skip to content

Commit

Permalink
Merge pull request #5544 from solidusio/elia/gh-actions-fix
Browse files Browse the repository at this point in the history
Set the bundle group globally during GH actions execution
  • Loading branch information
elia authored Dec 11, 2023
2 parents bcdc87e + f280fb6 commit 6f38ae2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prepare_post_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
prepare:
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
if: |
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release:generate')
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
env:
BUNDLE_ONLY: "release"
with:
ruby-version: "3.2"
bundler-cache: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
jobs:
prepare:
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
env:
BUNDLE_ONLY: "release"
with:
ruby-version: "3.2"
bundler-cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:

jobs:
update:
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
runs-on: ubuntu-latest
if: |
(github.event.pull_request.merged == true) &&
!contains(github.event.pull_request.labels.*.name, 'changelog:skip')
Expand Down
3 changes: 1 addition & 2 deletions sample/db/samples/shipping_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
}
])

# The just below rubocop:disable directive will be removed once https://github.com/rubocop/rubocop/issues/12441 is resolved.
{ # rubocop:disable Style/HashEachMethods
{
"UPS Ground (USD)" => [5, "USD"],
"UPS Ground (EU)" => [5, "USD"],
"UPS One Day (USD)" => [15, "USD"],
Expand Down

0 comments on commit 6f38ae2

Please sign in to comment.