Set up CI for 2.5-stable
branch
#1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- "2.5-stable" | |
pull_request: | |
branches: | |
- "2.5-stable" | |
jobs: | |
build: | |
name: "Test with Jekyll ${{ matrix.jekyll }} (Ruby ${{ matrix.ruby }} on ${{ matrix.os }})" | |
runs-on: "${{ matrix.os }}-latest" | |
strategy: | |
matrix: | |
jekyll: ["~> 3.9", "~> 4.2"] | |
ruby: ["2.7", "3.3"] | |
os: ["ubuntu", "macos", "windows"] | |
env: | |
JEKYLL_VERSION: ${{ matrix.jekyll }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: "Set Up Ruby ${{ matrix.ruby }}" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run tests | |
run: script/cibuild |