Skip to content

Commit

Permalink
Merge pull request #19 from fastly/upgrade-cdn-ruby
Browse files Browse the repository at this point in the history
Upgrade CDN branch to Ruby 3.2.2 and update GitHub Action
  • Loading branch information
mattcone authored Jan 12, 2024
2 parents 854e61b + 13cc42c commit 332aefa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '2.7'
ruby-version: '3.2.2'
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
run: bundle install
- name: "Build Site"
run: bundle exec jekyll build
env:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
3.2.2
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.2.0"
gem "webrick"

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,18 @@ GEM
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-18
x86_64-darwin-21

DEPENDENCIES
jekyll (~> 4.2.0)
jekyll-feed (~> 0.12)
webrick

BUNDLED WITH
2.3.7
2.5.4

0 comments on commit 332aefa

Please sign in to comment.