Skip to content

Commit

Permalink
update rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Dec 9, 2023
1 parent d9aae0d commit 207c320
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Update Bundler
run: gem update bundler
- name: Update rubygems
run: gem update --system
- name: Run linters
run: bundle exec rubocop --parallel
- name: Ruby security checks
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RUN --mount=type=cache,target=/var/cache/apt \
libvips \
pkg-config

gem update --system

# Install application gems
COPY Gemfile Gemfile.lock ./
RUN bundle install && \
Expand Down

0 comments on commit 207c320

Please sign in to comment.