Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Test

on:
push:
branches: [ master ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler: 2.4.17

- name: Install dependencies
run: |
gem install bundler
bundle install
Comment on lines +20 to +24
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding 'bundler-cache: true' to the ruby/setup-ruby action. This will automatically cache gems based on the Gemfile.lock, significantly speeding up subsequent workflow runs. The ruby/setup-ruby action supports this feature and will handle 'bundle install' automatically when caching is enabled.

Suggested change
- name: Install dependencies
run: |
gem install bundler
bundle install
bundler-cache: true
- name: Install dependencies
run: echo "Dependencies are installed via ruby/setup-ruby with bundler-cache"

Copilot uses AI. Check for mistakes.

Comment on lines +23 to +25
Copy link

Copilot AI Jan 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bundler installation is redundant. The ruby/setup-ruby action with bundler: 2.4.17 already installs the specified bundler version. Remove the 'gem install bundler' line as it's unnecessary and could potentially install a different bundler version than specified.

Suggested change
gem install bundler
bundle install
bundle install

Copilot uses AI. Check for mistakes.
- name: Build Jekyll site
run: bundle exec jekyll build --verbose

- name: Run htmlproofer
run: bundle exec htmlproofer ./_site --check-html --disable-external