Skip to content

Commit

Permalink
bundler-cache runs bundle install automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
zakariaf committed Apr 13, 2022
1 parent 2db5b0d commit c8fc8b2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
on: [push, pull_request]

jobs:
overcommit:
Expand All @@ -16,8 +12,8 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true
ruby-version: 3.0.3 # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Install Node.js
uses: actions/setup-node@v3
Expand All @@ -29,9 +25,6 @@ jobs:
npm install yarn
yarn --version
- name: bundle install
run: bundle install

- name: yarn install
run: yarn install

Expand Down

0 comments on commit c8fc8b2

Please sign in to comment.