Skip to content

Commit 486410e

Browse files
author
Anass Rach
committed
Update ci.yml!
1 parent 187ce0a commit 486410e

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@ on:
66
pull_request:
77

88
jobs:
9-
# Build job
109
build:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- name: Checkout
1413
uses: actions/checkout@v4
14+
1515
- name: Setup Ruby
1616
uses: ruby/setup-ruby@v1
1717
with:
18-
ruby-version: '3.3' # Not needed with a .ruby-version file
19-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20-
cache-version: 0 # Increment this number if you need to re-download cached gems
18+
ruby-version: '3.3'
19+
bundler-cache: false # Disable bundler cache because we’re bypassing lock consistency
20+
21+
- name: Unfreeze bundler
22+
run: bundle config set --local frozen false
23+
24+
- name: Install dependencies
25+
run: bundle install
26+
2127
- name: Build with Jekyll
2228
run: bundle exec jekyll build

0 commit comments

Comments
 (0)